win32 C / C++ scripts


Some of the better scripts I’ve written. They’re all command line utilities. The downloads come with code (compiles OK with ) and windows executables.

Everything is released under the GPL as usual.
I’m very much a beginner in C so the coding probably isn’t that great. I hope someone will find something here useful. Most of the code is my own work, and where I’ve used other people’s code I’ve commented it as such.

win32 C / C++ scripts Process Viewer/Killer 0.3b
Lists process info in plain or CSV format, kills processes by ID or exe name, kills single process or process tree. Great in conjunction with netcat.
download C Code / exe
The meat of this code was from alexfedotov.com’s article on killing win32 processes in C.

win32 C / C++ scripts Head / Tail 0.1
Displays the first/last X lines of a file of any size. If you’re interested in learning C, this was a great programming excercise.
there are a few bugs in tail – should be ready soon though!

win32 C / C++ scripts Rand 1.0
Outputs randomness. Actually this script is more useful than it sounds, I wrote it to pipe to netcat to try to flood an small intranet with data. It didn’t work but it sure looked cool in ethereal! Check out the features though:
limit output length in bytes
specify ASCII range to output
prepend/append data from file
wait X ms, every Y bytes
use given seed value to produce predictable randomness
download C code / exe

win32 C / C++ scripts mScan 1.1
A website scanner, investigates a server for files of your choice. Loads of customisable options including multiple proxies, sent HTTP header customisation, subdomain scan, ‘stealth’ subdomain scan (which basically just checks DNS without hitting the target server), etc, etc. My first useful C script. Quite a lot of useful features, but I think that this tool would be better with a GUI.
download C code / exe


Related Posts:

, , , , , ,

  1. #1 by gopal on April 14, 2012 - 10:21 pm

    Can you please tell me which books you are using to learn ‘C’, and which books you have used to learn JAVASCRIPT, HTML, PHP.
    Please answer.

Comments are closed.