d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Need Help
Add Reply New Topic New Poll
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 24 2013 02:46pm
i have a function that creates a malware

Code
char *badcode(const char *s)
{
   char *ns = strdup(s);
   char *p = ns;

   while(*p)
   {
       if(*p >= ' ' && *p <= 'O')
       {
           *p = ((*p + 48) % 127);
       }
       else if(*p >= 'P' && *p <= '~')
       {
           *p = ((*p - 48) % 127);
       }

       p++;
   }
   return ns;
}


but its not working some1 hlp plix

This post was edited by AbDuCt on Apr 24 2013 02:47pm
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Apr 24 2013 04:10pm
should rename *p to *erawlam, and your code will work
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 24 2013 04:32pm
Quote (0n35 @ Apr 24 2013 06:10pm)
should rename *p to *erawlam, and your code will work


maybe if i relocate memory dedicated to the host os explorer.exe i can create a ring0 proggy that sends mouse clicks to youtube?
Member
Posts: 11,610
Joined: Oct 28 2008
Gold: 1,795.00
Apr 24 2013 04:36pm
Quote (AbDuCt @ Apr 24 2013 05:32pm)
maybe if i relocate memory dedicated to the host os explorer.exe i can create a ring0 proggy that sends mouse clicks to youtube?


allocate all your excess ram and cut back from other processes
I'm sure you could get around 500cps (clicks per second)

One time on my brothers computer I got like 1k cps
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
Apr 24 2013 05:05pm
Quote (0n35 @ Apr 24 2013 06:36pm)
allocate all your excess ram and cut back from other processes
I'm sure you could get around 500cps (clicks per second)

One time on my brothers computer I got like 1k cps


thats allot of illegal clicks.

i wonder how i can spread the clciks. maybe usb auto infiltration?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Apr 24 2013 10:30pm
obviously you can only write malware in java since it runs in a VM which can take over your machine
Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
Apr 24 2013 10:38pm
Quote (carteblanche @ Apr 24 2013 09:30pm)
obviously you can only write malware in java since it runs in a VM which can take over your machine
also because Java is a WORM language (write one run maybe?) ;)

Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Apr 24 2013 10:54pm
Quote (Azrad @ Apr 25 2013 12:38am)
also because Java is a WORM language (write one run maybe?)  ;)


write once, run away

/edit: on a side note, i just discovered this gem: http://svn.codehaus.org/groovy/trunk/groovy/groovy-core/src/main/org/codehaus/groovy/runtime/ArrayUtil.java

This post was edited by carteblanche on Apr 24 2013 11:04pm
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll