Jump to content

how to insert the ASM code with SMEG Generator kit?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
jeevame

jeevame

    Newbie

  • Members
  • Pip
  • 7 posts
I have one ASM code. if we run my ASM code individually then this code will find all .COM files in your current directory then copy itself and will make duplicate copy as a hidden file.( if u enable the show hidden file option then u can see this files)

Right now I got one Generator kit from the web named SMEG. Actually this kit is working perfectly. In this generator kit if we compile and link the smeg_gen.obj + smeg.obj file with TASM 5.0 then we can get one smeg_gen.com file. If we run this smeg_gen.com file we can get the following result

SELECT THE NUMBER OF GENERATIONS:

1 -- 3 Generations
2 -- 30
3 -- 300
4 -- 3.000

If we choose 1 then we got three kind of out put named ****0000,****0001 and ****0002 like this,
Now if we open one ****000 file then we can get the following out put "****0000.COM. This was decrypted with a smeg 4.0 generated decryptor!"

in this result I want to replace my own code result instead of this Result” This was decrypted with a smeg 4.0 generated decryptor!” means if I open every ****0000 file then my own code result should come in all the ****0000.com files. I guess we need to modify something in this smeg_gen.asm, but I don’t know how to insert my own code into this asm code..when i tried this code my result came directly but the ****0000.com files didnt generated. I guess this generator is suitable for my project.could u please help me to insert my code in to this kit and kindly do the need ful for me.i am eagerly waiting for your reply. Thanks in advance

pls find out my code and SMEG kit below this link

4shared.com - online file sharing and storage - download my project.rar
Regards,
Mohana.D

#2
jeevame

jeevame

    Newbie

  • Members
  • Pip
  • 7 posts
any one u ppl help me plzzzzzzzzzzz

#3
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,705 posts
  • Programming Language:C, Java, C++, PHP, Python, Perl, Assembly, Bash, Others
  • Learning:JavaScript
I suggest you replace the jc DONE on line 51 with a small bit of code that looks at the error code in AL and prints out a corresponding message. Possible values are:

02H: File not found
03H: Path not found
12H: No more files (i.e. last file in search was found)

Another thing: According to Ralph Brown's interrupt table:

Quote

For search attributes other than 08h, all files with at MOST the specified combination of hidden, system, and directory attributes will be returned.
This means that, with your code, only files with no attributes at all will be returned. Better to set the hidden, system, archive, etc. flags.
sudo rm -rf /




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users