FindArena > Find Arena > Money

 
Thread Tools Display Modes
  #1 ()
Dumpsypsurf : There is suppose to be a serious software vulnerability in the source code below. However, I'm having a problem finding where it is located. Also, what should I change in the code to make that part more secure? Thanks.






extern char *text_dpass;
extern char *text_fpass;
extern char *text_chall;
static int challx, chally;
extern pbmain();
struct pblk pblock; /* our instance of the pblk */
struct pblk *pb; /* global pointer to the pblk */
extern int checkDynamic();
#endif
#if defined( HAVE_SYSLOG_H ) && defined( USE_SYSLOG )
#ifndef SYSLOG_FACILITY
#define SYSLOG_FACILITY LOG_AUTH
#endif
static void
syslogStart(void)
{
struct passwd *pw;
struct group *gr;
pw = getpwuid(getuid());
gr = getgrgid(getgid());
(void) openlog(ProgramName, LOG_PID, SYSLOG_FACILITY);
syslog(SYSLOG_INFO, "Start: %s, %s, %s",
pw->pw_name, gr->gr_name, XDisplayString(dsp));
}
void
syslogStop(char *displayName)
{
struct passwd *pw;
struct group *gr;
int secs, mins;
secs = (int) (seconds() - start_time);
mins = secs / 60;
secs %= 60;
pw = getpwuid(getuid());
gr = getgrgid(getgid());
syslog(SYSLOG_INFO, "Stop: %s, %s, %s, %dm %ds",
pw->pw_name, gr->gr_name, displayName, mins, secs);
}
#endif
void
error(char *buf)
{
#if defined( HAVE_SYSLOG_H ) && defined( USE_SYSLOG )
extern Display *dsp;
syslog(SYSLOG_WARNING, buf);
if (!nolock) {
if (strstr(buf, "unable to open display") == NULL)
syslogStop(XDisplayString(dsp));
else
syslogStop("unknown display");
closelog();
}
#else
(void) fprintf(stderr, buf);
#endif
exit(1);
}
  Reply With Quote
  #2 ()
dubaimady : So I'm wondering what can be done in this situation.

Two people are making a "trade." For an online item, for the sake of this discussion and privacy, lets pretend its a runescape membership or something like that. Its a code that one person is buying from another.

Lets say, one person gives false promises. Says hes selling the code for a certain account in the game.
They are talking in a chat client, and the person who is buying this code goes first, and gives his account to the scammer as requested. Then the scammer goes offline.

Real Question here: (And TL;DR)

Can someone be punished for effectively stealing, if there was no legal agreement between the buyer and the seller, and they are both effectively anonymous due to the internet.

I see things like this happen all the time, where people are scammed, but can anything actually be done?
EDIT:

Well, lets say, the conversation, was literally inside a game. Like through the games in game chat system. Also, lets say the damages are around 10-15$ tops, there's no reason to pursue that right?
  Reply With Quote
more..
  #3 ()
xgevcrfz : Why do you say there was no legal agreement? It sounds to me like an offer was made, accepted, and upheld by one party and not the other.

On the other hand, enforcing the legal agreement would be challenging. You'd have to file a 'John Doe' lawsuit and then subpoena the identity of the other person. In most States, you can subpeona third parties to provide evidence even in small claims court, so you can require their ISP to reveal their identity. Your biggest challenge would be if the ISP contests the jurisdiction of the court in your area. If their ISP is national, this likely won't be a problem.
  Reply With Quote
  #4 ()
flazyzotreart : It really just depends. Recently, chats and IM's have been proven to be valid agreements between two individuals, however, the proof of identity can prove problematic. If your or the theoretical loss is not substantial enough to warrant legal action, then you may just be out of luck other than posting negative reviews on the person's handle or screen name.
  Reply With Quote
  #5 ()
Varvef : If you know who the other person/business is then yes you can try and press charges, but you'll need proof of your agreement. Its hard to make a case of a "verbal" agreement, but if you have a copy of the site/conversation then that'll be better.

So no legal agreement then its just like you handing them money.
  Reply With Quote
  #6 ()
Buiscuspigape : I have a plastic box with old change in I can make 3 pound where can I change it into cash ?
  Reply With Quote
  #7 ()
Vidsgaga : The bank. Also lots of supermarkets have a machine that does it but for that you will pay a fee (about 7%) the bank does it for free.
  Reply With Quote
  #8 ()
aogokaoy : A bank will always change it and some supermarkets have coin counters these days
  Reply With Quote
  #9 ()
Jugacargo : They have machines at asda and morrisons. Apart from that I have no idea.
  Reply With Quote
  #10 ()
augmery Parriorkmn : 1.) A company issued 5%, 20-year bonds with a face amount of $80 million. The market yield for bonds of similar risk and maturity is 6%. Interest is paid semiannually. At what price did the bonds sell?

n=
i=

cash flow.....Amount....Present Value
Interest
Principal

2.)
On January 1, a company issued 3%, 20-year bonds with a face amount of $80 million for $69,033,776 to yield 4%. Interest is paid semiannually. What was the straight-line interest expense on the December 31 annual income statement?

3.)
On January 1, a company issued 7%, 15-year bonds with a face amount of $90 million for $82,218,585 to yield 8%. Interest is paid semiannually. What was interest expense at the effective interest rate on June 30, the first interest date?
amount x affective rate= interest expense

4.)
On January 1, a company purchased 3%, 20-year corporate bonds for $69,033,776 as an investment. The bonds have a face amount of $80 million and are priced to yield 4%. Interest is paid semiannually.

Prepare a partial amortization table at the effective interest rate on June 30 and December 31

Prepare the journal entries necessary to record revenue at the effective interest rate on June 30 and December 31.
  Reply With Quote