Skip to content

Instantly share code, notes, and snippets.

@fnord0
fnord0 / gist:7817710
Created December 6, 2013 02:38
bascan
#!/usr/bin/env python2
# coding=utf-8
from sys import argv
import subprocess
import colorama, re, string, time
import argparse
BLACKARCH_HOME = '/home/fnord0/devel/github/blackarch'
PACKER = '/usr/bin/packer'
@fnord0
fnord0 / gist:7827421
Created December 6, 2013 16:14
packetstormsecurity.net exploit archive 133ch3r v1.0.1
#!/usr/bin/env python2
import subprocess
import colorama, re, string, time, os, sys, errno
import argparse
from datetime import date
import requests
import datetime
import tarfile
from progressbar import *
@fnord0
fnord0 / gist:7859774
Created December 8, 2013 16:30
openwrt.aqemu
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE AQEMU>
<AQEMU version="0.8">
<Virtual_Machine>
<VM_State>Power_Off</VM_State>
<Icon_Path>:/images/default_linux.png</Icon_Path>
<Screenshot_Path></Screenshot_Path>
<Machine_Name>openwrt</Machine_Name>
<Emulator_Name></Emulator_Name>
<Emulator_Type>QEMU</Emulator_Type>
@fnord0
fnord0 / gist:7861099
Last active December 30, 2015 17:29
blackarch package finder: searches pacman.conf repos + the AUR using packer, also searches a local copy of the github (unstable) repo, and ba github issues (using ghi)
#!/usr/bin/env python2
# coding=utf-8
# blackarch package finder: searches pacman.conf repos + the AUR using packer
# also searches a local copy of the github (unstable) repo, and ba github issues (using ghi)
#
# REQUIREMENTS: python2, python2-argparse, python2-colorama, packer, ghi
# !! change the BLACKARCH_HOME var to where you keep a local copy of a github blackarch (unstable) repo
# !! change the PACKER var to either yaourt, pacaur, pacman, or other
@fnord0
fnord0 / blackarch.zsh
Last active December 30, 2015 17:59
zsh blackarch aliases + functions
# blackarch aliases + functions
alias vizshba='vi ~/.oh-my-zsh/custom/blackarch.zsh' # edit this file
alias bacd='cd /home/fnord0/devel/github/blackarch' # change directory to blackarch github repo
alias -g ~ba='/home/fnord0/devel/github/blackarch' # ~ba => global alias || can use anywhere on command line, ls -al ~ba; df -k ~ba; etc
alias bafind='/home/fnord0/devel/github/blackarch/scripts/bafind' # blackarch package finder, searches core|AUR|~ba, and github issues for $PACKAGE,*
alias bagem='gem2arch --build' # run gem2arch in current directory, PKGBUILD will d/l *HERE* (overwriting any PKGBUILD)
# add blackarch scripts/ folder to $PATH
export PATH=/home/fnord0/devel/github/blackarch/scripts:$PATH
error: failed to commit transaction (conflicting files)
dirb: /mnt/usb2/blackarchiso/work/i686/root-image/usr/local/share/man exists in filesystem
fragroute: /mnt/usb2/blackarchiso/work/i686/root-image/usr/sbin exists in filesystem
scapy: /mnt/usb2/blackarchiso/work/i686/root-image/bin exists in filesystem
scapy: /mnt/usb2/blackarchiso/work/i686/root-image/lib exists in filesystem
netdiscover: /mnt/usb2/blackarchiso/work/i686/root-image/usr/sbin exists in filesystem
netsniff-ng: /mnt/usb2/blackarchiso/work/i686/root-image/usr/local/share/man exists in filesystem
reaver: /mnt/usb2/blackarchiso/work/i686/root-image/bin exists in filesystem
ssldump: /mnt/usb2/blackarchiso/work/i686/root-image/usr/sbin exists in filesystem
tiger: /mnt/usb2/blackarchiso/work/i686/root-image/usr/sbin exists in filesystem
@fnord0
fnord0 / gist:7926311
Created December 12, 2013 11:00
# ./build.sh -N blackarch -v -A i686
(1000/1005) installing spice-gtk3 [###########################################################] 100%
(1001/1005) installing vinagre [###########################################################] 100%
Optional dependencies for vinagre
openssh: SSH plugin [installed]
freerdp: RDP plugin
(1002/1005) installing dwm [###########################################################] 100%
-- Edit config.h in dwm's PKGBUILD directory (generally /var/abs/community/dwm/)
-- and rebuild package if you want to change settings.
(1003/1005) installing slim [###########################################################] 100%
(1004/1005) installing slim-themes [####################
This file has been truncated, but you can view the full file.
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>fnord0 subscriptions in Google Reader</title>
</head>
<body>
<outline text="(title unknown)" title="(title unknown)"
type="rss"
xmlUrl="http://showmetheco.de/articles/2011/6/%3C%=%20href_to_rss%20%%3E" htmlUrl="http://www.google.com/reader/view/feed%2Fhttp%3A%2F%2Fshowmetheco.de%2Farticles%2F2011%2F6%2F%253C%25%3D%2520href_to_rss%2520%25%253E"/>
<outline text="(title unknown)" title="(title unknown)"
* commit 82c7f76204b894368baf317e376ae791476132df
|\ Merge: b8ac2d7 d7dbf4f
| | Author: fnord0 <[email protected]>
| | Date: Mon Dec 23 15:43:00 2013 -0800
| |
| | Merge branch 'unstable' of https://github.com/BlackArch/blackarch
| |
| * commit d7dbf4ff52b7ee890a763b34e073fa19ee40415e
| |\ Merge: 92efdbd 034df51
| | | Author: Evan Teitelman <[email protected]>
@fnord0
fnord0 / gist:8145307
Created December 27, 2013 10:42
msf stuff
# pacman -Syyu
:: Synchronizing package databases...
archassault-testing 179.9 KiB 160K/s 00:01 [###########################################################] 100%
core 106.1 KiB 158K/s 00:01 [###########################################################] 100%
extra 1443.2 KiB 509K/s 00:03 [###########################################################] 100%
community 2.0 MiB 587K/s 00:04 [###########################################################] 100%
multilib 109.7 KiB 117K/s 00:01 [###########################################################] 100%
:: Starting full system upgrade...
:: Replace packet-o-matic with archassault-testing/packet-o-matic? [Y/n] y
resolving dependenci