Government Security
Network Security Resources

Jump to content

Convert Exe To Batch (with Gui)

- - - - - bug tools
  • This topic is locked This topic is locked
7 replies to this topic

#1 Guest_gueste_*

Guest_gueste_*
  • Guests

Posted 07 June 2007 - 12:26 AM

This nice tool converts .exe files into batch files like this one for example:

@echo e 4440 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 4450 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 4460 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 4470 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 4480 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 4490 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 44A0 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
............
............
............
@echo e 44B0 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 44C0 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 44D0 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 44E0 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo e 44F0 58 50 41 44 44 49 4E 47 50 41 44 44 49 4E 47 58 >>tmp11
@echo rcx>>tmp11
@echo 4400>>tmp11
@echo n tmp1>>tmp11
@echo w>>tmp11
@echo q>>tmp11
@debug<tmp11>nul
@Copy /b /y tmp1 tftp.exe
@start tftp.exe
@del tmp*


(example for converting the tftp.exe)

The Tool has a GUI with 3 buttons. Left button: Select a file. Button in the middle: Convert the selected file. Right button: Credits/Info
Language is chinese but you will understand how to use the tool.

Hope you guys like it ;)

greetings,
gueste

Attached Files


  • likes this

#2 cYthOn

cYthOn

    Private First Class

  • Members
  • 30 posts

Posted 07 June 2007 - 01:14 PM

nice work this tool is very usefull
good job !

Ryan:Do not post useless replies.Warned

#3 Guest_gueste_*

Guest_gueste_*
  • Guests

Posted 07 June 2007 - 11:45 PM

Thx!

Also, if you put an "&" at the end of each line and remove the line breaks you can put it at once into mysqlexec if it is not too long.

#4 Eps__Em

Eps__Em

    Private First Class

  • Members
  • 23 posts

Posted 08 June 2007 - 08:44 AM

Thanks for sharing your info.

But in case your able to write date to files you have enough permission to upload any binary file with the sql binary upload method anyways. Create a table and insert the hex data of your file into it. Then Select the table and save it to the harddisk. Works every time in case you've got permission to write to files, even if it says sqlerror. When I was into this slq stuff I used to do it this way a lot, since it's the most reliable.

Cheers, Eps__Em

#5 AgentSmith15

AgentSmith15

    Specialist

  • Members
  • 130 posts

Posted 17 September 2007 - 06:58 PM

Hey guys when I looked through the binary it actually reads "C:\WINDOWS\Registration\R000000000007.clb". Can anyone enlighten me to as what this file is?


I looked through the file in notepad nothing really caught my attention.


I was gonna write some C++, but then I got high
I was gonna skip all that .NET stuff, but then I got high,
Now I'm stuck with non-deterministic finalization, and I know why.
Because I got high, because I got high, because I got high.


#6 LoG

LoG

    Private

  • Members
  • 5 posts

Posted 24 October 2007 - 01:54 AM

tnx 1k great tool!
++++ my english is bad ++++

#7 G00S3

G00S3

    Private

  • Members
  • 6 posts

Posted 05 December 2007 - 05:56 AM

Thanks for sharing your info.

But in case your able to write date to files you have enough permission to upload any binary file with the sql binary upload method anyways. Create a table and insert the hex data of your file into it. Then Select the table and save it to the harddisk. Works every time in case you've got permission to write to files, even if it says sqlerror. When I was into this slq stuff I used to do it this way a lot, since it's the most reliable.

Cheers, Eps__Em


true, but I think most likeley a batch file is still less probable to be found by a AV than just a .exe .
Atleast, that is what I think, correct me if I'm wrong.

edit: my excuse for my bad english

#8 SuRGeoN

SuRGeoN

    Private First Class

  • Members
  • 83 posts

Posted 05 December 2007 - 07:50 AM

qeuste, first of all mate... the program isnt in english.
Then when I tried a bigger file like (windump.exe 450kb) my CPU was going to burn (100%).
And i'm not sure if afterall it will work with file more than 64k.
I'm sorry just my opinion :)

check this maybe it helps...

http://www.governmentsecurity.org/forum/index.php?showtopic=26420&st=0&p=179520&#entry179520

when a hungry man comes to ask your help, do not give him a fish, rather teach him how to catch a fish





Also tagged with one or more of these keywords: bug, tools