Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Ever wanted to hack with batch?

  • Please log in to reply
2 replies to this topic

#1 jahwi


  • Members
  • 11 posts
  • Local time:03:27 AM

Posted 01 January 2016 - 11:24 PM



I have put together a list of useful batch scripts and I would appreciate it if you guys told me what you think.



BC AdBot (Login to Remove)


#2 Demonslay335


    Ransomware Hunter

  • Security Colleague
  • 3,586 posts
  • Gender:Male
  • Location:USA
  • Local time:08:27 PM

Posted 02 January 2016 - 01:46 AM

Sounds interesting, I might give it a go in a VM when I have some time (sorry, can't trust it by nature until I've gotten "dirty" with the source code, I'll assume Chrome is flagging a false-positive on the SF download). Looks like some handy tools for my usual security auditing for my customers. :thumbs2:


I see in your readme you mention packing exe's due to requirements of running as administrator. I can show you a way to request UAC access when needed from a batch script. It's a nice trick I stashed a long time ago and use in all of my scripts. I also have one for writing colored text per line if you want to be even more fancy with your menus. ;)

Edited by Demonslay335, 02 January 2016 - 01:51 AM.

logo-25.pngID Ransomware - Identify What Ransomware Encrypted Your Files [Support Topic]

ransomnotecleaner-25.png RansomNoteCleaner - Remove Ransom Notes Left Behind [Support Topic]

cryptosearch-25.pngCryptoSearch - Find Files Encrypted by Ransomware [Support Topic]

If I have helped you and you wish to support my ransomware fighting, you may support me here.

#3 jahwi

  • Topic Starter

  • Members
  • 11 posts
  • Local time:03:27 AM

Posted 02 January 2016 - 06:27 AM


Thanks for the feedback! :)
i an assure you it's virus free. I included the source code of all the scripts. Most are not compiled to exe format. The few I compiled include:
dc.exe the color per line script
mg.exe used for reporting errors to the user
noti.exe notifying the user of useful information.
And some c programs that calculate geometry because batch can't perform calculations as float or double, always as an integer.
Bt.exe the bluetooth shell
Thanks again for taking the time.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users