Post any useful or interesting code/scripts that you might have.
Here is a simple python script that bruteforces the last 3 characters of a bitcoin private key, only needs bitcoin module to work (pip install bitcoin). Takes 10 seconds to find 3 and can be easily modified to find more. Someone on here made it and I modified it slightly. Kind of cool but could be useful if you ever come across a partial key.
4chan is tripping via code tag so have to post it on pastebin: https://pastebin.com/fBJQsTrn
https://github.com/NARKOZ/hacker-scripts
For windows, a self contained bat script that can convert any bat file to a windows executable.
https://github.com/npocmaka/batch.scripts/blob/master/hybrids/iexpress/bat2exeIEXP.bat
>>62265412
nice read, thanks
Autohotkey script to click mouse 1 with a slight delay when toggled via F8 key. Very useful if you need to click something many times, delay can be adjusted.SetMouseDelay, 10
Toggle = 0
#MaxThreadsPerHotkey 2
F8::
Toggle := !Toggle
While Toggle{
Click
sleep 1000
}
return
>>62265412
>kumar-asshole.sh
my fucking sidesssss
>>62265355
https://pastebin.com/P7eewnvf
deletes music based on artists, I use it mostly to filter rap and other degenerate music
I download music bundles where half of it is crap(I do it for the other half, that I don't know)
https://github.com/iasatan/Tampermonkey-scripts/blob/master/TV-Torrent/TorrentHelper.user.js
Tampermonkey scripts, searches other torrent sites if TPB has nothing
https://github.com/iasatan/Tampermonkey-scripts/blob/master/TV-Torrent/AutomaticSeriesTorrentFinder.user.js
Searches tpb based on pogdesign, so if there is a new episode on my show it will navigate to the download page
There are a few other here: https://github.com/iasatan/Tampermonkey-scripts (for steam and porn)
A bunch of old unix scripts
http://www.intuitivestories.com/wicked/wicked-cool-shell-script-library.shtml
A list of single line bash commands/scripts, some very useful
http://www.bashoneliners.com
>>62265412
>fucking-coffee.sh
mein sides
>>62265561
go away Kris.
Fred's imagemagick scripts.
# The following commands will report the location (filename and line number) of a function’s definition. Assuming a function named foo,
# Turn on extended shell debugging
shopt -s extdebug
# Display the function’s name, line number and fully qualified source file
declare -F foo
# Turn off extended shell debugging
shopt -u extdebug
For example, the output of these commands might be:
foo 32 /source/private/main/developer/cue.pub.sh
The above might work only in bash, and not in POSIX shells in general.
I can't sorry.
Too many lines for 4chan.
It's for printing out NTFS Access Rights per folder/user in Active Directory enviroments.
If anybody is interested I'll post it splitted
>>62269156
use pastebin
>>62269156
>>62269206
https://pastebin.com/2kBVMP2E
Here you go.
It's for german customers though.
Feel free to tranlate everything nessesary
>>62265412
kumar-asshole.sh
This guy is a genius