Remote Admin automation
2
Command Line Calculato
4
This is a quick and dirty function for preventing SQL Injection, the function is designed to clean any variable that will be concatenated into an SQL query. Apostrophes and Double-Quotes are changed to entities in order to ensure that encoding does not become an issue when the content is pulled back into a page. I'm looking for criticism here, I want to know if this is secure or not.
5
I've found it kind of complicated to strip newline chars from a file with just the commandline. This tiny piece of code does just that.
I've found it especially useful when extracting tabulated data from a grabbed site where each cell is on a different html line. This way I can pre-filter the html, remove the newlines, and insert them again at register boundaries (row end in this case), so that with just a couple more replacement from within a regex enabled text editor I can copy&paste it directly to a database.
I've found it especially useful when extracting tabulated data from a grabbed site where each cell is on a different html line. This way I can pre-filter the html, remove the newlines, and insert them again at register boundaries (row end in this case), so that with just a couple more replacement from within a regex enabled text editor I can copy&paste it directly to a database.
4
This is a great little script that you can put on a friend's flash drive. It won't do any harm to their computer...it's just funny to watch. Put these 2 files in the "root" of the flash drive, cd, or any type of media/external drive. When they plug it in it will run the autorun script which then runs the shutdown script and restarts their computer! You will get a few laughs out of it...guaranteed!
1
Add users and groups to all machines in a domai
1
Archief event log enteries
4
Change wins settings for all nics
4
Builds a batch file to create hidden shares for a bunch of sub-directories (eg, User shares)
-4
Deletes all files and folders from a directory, including read-only and
hidden files and folders. DelAll starts in the directory you tell it,
removes all read-only and hidden attributes from all the files, removes
all of the subfolders and then all files therein. When DelAll is done,
you will be left in the directory from which you called DelAll. The
directory that you want cleaned will not be deleted.
hidden files and folders. DelAll starts in the directory you tell it,
removes all read-only and hidden attributes from all the files, removes
all of the subfolders and then all files therein. When DelAll is done,
you will be left in the directory from which you called DelAll. The
directory that you want cleaned will not be deleted.
2
KillProc will do a search of all the current processes and kill all that
match the name given. If the process name is misspelled, KillProc would
kill itself, based on the match. The 'find /v /i "KillProc"' part of the
search prevents KillProc from killing the CMD window it is running in.
Requires NT Resourcekit
match the name given. If the process name is misspelled, KillProc would
kill itself, based on the match. The 'find /v /i "KillProc"' part of the
search prevents KillProc from killing the CMD window it is running in.
Requires NT Resourcekit









