how to attach a trojan file to a .txt or to a .jpeg file?

Discussion about hacker.org's server
Post Reply
nipundavid
Posts: 15
Joined: Wed Jul 14, 2010 8:53 pm

how to attach a trojan file to a .txt or to a .jpeg file?

Post by nipundavid »

i downloaded a hacking tool rar file from torrent and there were few trojans in it like love letter etc. But it is hard for me to attach these trojans to a txt doc or to a photograph.

can you guys help me?
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

A bit of python code to append a file onto another, works every time:

Code: Select all

input_filename = "me naked.jpg"
payload = "BackDoor"
output_filename = "me extra naked.jpg"

open( output_filename, "wb" ).write( open( input_filename, "rb" ).read() + open( payload, "rb" ).read())
Master^^
Posts: 3
Joined: Wed Aug 17, 2011 10:18 am
Location: bera

Post by Master^^ »

CodeX wrote:A bit of python code to append a file onto another, works every time:

Code: Select all

input_filename = "me naked.jpg"
payload = "BackDoor"
output_filename = "me extra naked.jpg"

open( output_filename, "wb" ).write( open( input_filename, "rb" ).read() + open( payload, "rb" ).read())
Could you explain me how it work? Can I somehow to put my trojan into txt?
Volim ovu igru nema nista draze i evo tu da me seces ako te ista lazem.

I love this game and there's nothing to compare.
DaymItzJack
Posts: 106
Joined: Thu Oct 29, 2009 9:21 pm

Post by DaymItzJack »

CodeX wrote:A bit of python code to append a file onto another, works every time:

Code: Select all

input_filename = "me naked.jpg"
payload = "BackDoor"
output_filename = "me extra naked.jpg"

open( output_filename, "wb" ).write( open( input_filename, "rb" ).read() + open( payload, "rb" ).read())
Worked for me on my last ex-girlfriend.
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

but of course, I only serve the finest malware :3
Post Reply