This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
gdb -p "$1" -batch -ex 'set {short}$rip = 0x050f' -ex 'set $rax=231' -ex 'set $rdi=0' -ex 'cont' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
. /etc/profile | |
# TO RUN THIS FILE: bash <(curl -ks [external web/intranet location of this file] ); | |
# ALIASES WILL BE LOADED AND AVAILABLE ON THE MACHINE. | |
# FEEL FREE TO ADD YOUR OWN. I HAD TO REMOVE MANY CUSTOM SCRIPTS STORED ON OLD JOB SERVERS. | |
# TO NOT AFFECT FORMATTING THE BELOW EXAMPLE HAS REPLACED OPEN/CLOSE PARENTHESIS WITH BRACES. | |
# EXAMPLE FORMAT: | |
#==================#Helpful subsection title#=================={} | |
# alias_name{} { commands go here; } |