Skip to content

Instantly share code, notes, and snippets.

@fnord0
fnord0 / ruby-coderay.PKGBUILD
Created July 25, 2012 11:35
ruby-coderay AUR PKGBUILD
# Maintainer: TDY <[email protected]>
pkgname=ruby-coderay
_gemname=${pkgname#ruby-}
pkgver=1.0.7
pkgrel=1
pkgdesc="A fast syntax highlighting library for Ruby"
arch=('any')
url="http://coderay.rubychan.de/"
license=('LGPL')
pkgname=ruby-thin
_gemname=thin
pkgver=1.6.1
pkgrel=1
pkgdesc='A thin and fast web server'
arch=(any)
url='http://code.macournoyer.com/thin/'
license=('RUBY')
depends=("ruby" "ruby-rack>=1.0.0" "ruby-eventmachine>=0.12.6" "ruby-daemons>=1.0.9")
makedepends=('rubygems')
cGtnbmFtZT1ydWJ5LXRoaW4KX2dlbW5hbWU9dGhpbgpwa2d2ZXI9MS42LjEKcGtncmVsPTEKcGtnZGVzYz0nQSB0aGluIGFuZCBmYXN0IHdlYiBzZXJ2ZXInCmFyY2g9KGFueSkKdXJsPSdodHRwOi8vY29kZS5tYWNvdXJub3llci5jb20vdGhpbi8nCmxpY2Vuc2U9KCdSVUJZJykKZGVwZW5kcz0oInJ1YnkiICJydWJ5LXJhY2s+PTEuMC4wIiAicnVieS1ldmVudG1hY2hpbmU+PTAuMTIuNiIgInJ1YnktZGFlbW9ucz49MS4wLjkiKQptYWtlZGVwZW5kcz0oJ3J1YnlnZW1zJykKc291cmNlPShodHRwOi8vZ2Vtcy5ydWJ5Zm9yZ2Uub3JnL2dlbXMvJF9nZW1uYW1lLSRwa2d2ZXIuZ2VtKQptZDVzdW1zPSgnMDFkNDZiOGFkNzI2Y2ExN2QwZWM3NzVmNzAxOTQxOGMnKQpzb3VyY2U9KGh0dHA6Ly9ydWJ5Z2Vtcy5vcmcvZG93bmxvYWRzLyR7X2dlbW5hbWV9LSR7cGtndmVyfS5nZW0pCm5vZXh0cmFjdD0oJF9nZW1uYW1lLSRwa2d2ZXIuZ2VtKQoKcGFja2FnZSgpIHsKICBjZCAiJHNyY2RpciIKICAjIF9nZW1kaXIgaXMgZGVmaW5lZCBpbnNpZGUgcGFja2FnZSgpIGJlY2F1c2UgaWYgcnVieVtnZW1zXSBpcyBub3QgaW5zdGFsbGVkIG9uCiAgIyB0aGUgc3lzdGVtLCBtYWtlcGtnIHdpbGwgZXhpdCB3aXRoIGFuIGVycm9yIHdoZW4gc291cmNpbmcgdGhlIFBLR0JVSUxELgogIGxvY2FsIF9nZW1kaXI9IiQocnVieSAtcnVieWdlbXMgLWUncHV0cyBHZW0uZGVmYXVsdF9kaXInKSIKCiAgZ2VtIGluc3RhbGwgLS1uby11c2VyLWluc3RhbGwgLS1pZ25vcmUtZGVw
pkgname=metasploit-git
pkgver=4.8.0.RC2.2.gf402f4c
pkgrel=1
pkgdesc="An open source platform that supports vulnerability research, exploit development and the creation of custom security tools representing the largest collection of quality-assured exploits"
depends=('ruby' 'libpcap' 'postgresql-libs' 'ruby-msgpack')
arch=('i686' 'x86_64')
optdepends=('java-runtime: msfgui'
'dradis: dradisis database system'
'postgresql: database')
makedepends=('git')
pkgname=gem2arch
pkgver=0.0.7
pkgrel=1
pkgdesc="blackarch's version of gem2arch by crabtw that creates an ArchLinux PKGBUILD from a ruby gem"
arch=('any')
url='https://github.com/BlackArch/gem2arch'
license=('GPL3')
makedepends=('git')
depends=('ruby')
source=("gem2arch"::'git://github.com/BlackArch/gem2arch.git')
% gem2arch
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- gem2arch (LoadError)
from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /usr/bin/gem2arch:2:in `<main>'
fnord0@spaceface ~/devel/github/blackarch (git)-[master] % git diff docs/need-groups
diff --git a/docs/need-groups b/docs/need-groups
index 7b81a6a..625e41c 100644
--- a/docs/need-groups
+++ b/docs/need-groups
@@ -38,18 +38,18 @@ loki exploitation
malwaredetect forensics
masscan intel
missidentify intel
-morxbrute exploitation
fnord0@spaceface /usr/share/kautilya % grep -iR output *
lib/src/methods.rb: search_replace("./lib/src/default_dns.pde","./output/default_dns.pde",ip)
lib/src/methods.rb: search_replace("./lib/src/edit_hosts.pde","./output/edit_hosts.pde",ip,domain)
lib/src/methods.rb: search_replace("./lib/src/enable_rdp.pde","./output/enable_rdp.pde",username,password)
lib/src/methods.rb: search_replace("./lib/src/enable_telnet.pde","./output/enable_telnet.pde",username,password)
lib/src/methods.rb: search_replace("./lib/src/force_browse.pde","./output/force_browse.pde",url)
lib/src/methods.rb: search_replace("./lib/src/download_exec.pde","./output/download_exec.pde",url)
lib/src/methods.rb: search_replace("./lib/src/backdoor.pde","./output/backdoor.pde",sethc,utilman)
lib/src/methods.rb: search_replace("./lib/src/uninstall.pde","./output/uninstall.pde",app)
lib/src/methods.rb: puts"Information like registry keys, output of net command, contents of hosts file etc.".bold
@fnord0
fnord0 / gist:7434867
Created November 12, 2013 17:19
backtrack's webshells
oot@spaceface /pentest/web/backdoors/webshells # ls -alFR
.:
total 4
drwxr-xr-x 9 root root 280 2012-07-29 02:17 ./
drwxr-xr-x 6 root root 160 2012-08-21 12:48 ../
drwxr-xr-x 2 root root 112 2012-07-29 02:17 asp/
drwxr-xr-x 2 root root 80 2012-07-29 02:17 aspx/
drwxr-xr-x 2 root root 80 2012-07-29 02:17 cfm/
drwxr-xr-x 2 root root 112 2012-07-29 02:17 jsp/
drwxr-xr-x 2 root root 120 2012-07-29 02:17 perl/
Total Installed Size: -981.09 MiB
:: Proceed with installation? [Y/n]
(714/714) checking keys in keyring [#############################################] 100%
(714/714) checking package integrity [#############################################] 100%
(714/714) loading package files [#############################################] 100%
(714/714) checking for file conflicts [#############################################] 100%
error: failed to commit transaction (conflicting files)
dirb: /mnt/usb2/blackarch/releng/work/x86_64/root-image/usr/local/share/man exists in filesystem
fragroute: /mnt/usb2/blackarch/releng/work/x86_64/root-image/usr/sbin exists in filesystem