Skip to content

Instantly share code, notes, and snippets.

View random-robbie's full-sized avatar
💭
Hacking!

Robbie random-robbie

💭
Hacking!
View GitHub Profile
@random-robbie
random-robbie / docker.sh
Created October 17, 2016 12:15
docker kill and remove
#!/bin/bash
# kill current docker
docker kill $(docker ps -q)
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@random-robbie
random-robbie / shell_exec.txt
Created March 25, 2020 14:20
wordpress plugins with shell_exec in them.
10web-manager
4k-icon-fonts-for-visual-composer
accelerated-mobile-pages
accept-payments-wp
accu-auto-backup
ace-edit
ace-editor-for-wp
aceide
acelerator
acf-code-field
POST /test/DataTables/examples/resources/examples.php HTTP/1.1
Host: 192.168.1.71
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0
Accept: text/plain, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 35
Origin: http://192.168.1.71
@random-robbie
random-robbie / PDOfailover.php
Created June 18, 2015 12:38
Load Balance & Fail Over PDO mysql Connection
<?php
$ran = rand(1,10);
if ($ran < 5) {
$host = '10.0.0.2';
$backup = '10.0.0.3:3306';
} else {
$host = '10.0.0.3:3306';
$backup = '10.0.0.2:3306';
}
@random-robbie
random-robbie / go.sh
Last active December 14, 2021 13:13
install golang
#!/bin/bash
echo 'Installing go...'
wget https://dl.google.com/go/go1.17.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.17.linux-amd64.tar.gz
rm go1.17.linux-amd64.tar.gz
mkdir $HOME/go
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
@random-robbie
random-robbie / aq.sh
Last active November 18, 2021 06:35
aq put it in /bin/ and chmod 777 it
#!/bin/bash
aquatone-discover -d $1 --threads 10
aquatone-scan -d $1 --ports huge --threads 10
DEBUG=nightmare xvfb-run -a aquatone-gather -d $1 --threads 10
aquatone-takeover -d $1 --threads 10

List All Takes

SELECT table_schema,table_name
FROM information_schema.tables
ORDER BY table_schema,table_name;
#!/bin/bash
#Script by OliverK
#Downloads _every_ wordlist in the packet storm security site.
#April 18th, 2011
# Updated Oct , 2th, 2012
mkdir common
cd common
wget --no-check-certificate http://dl.packetstormsecurity.net/Crackers/wordlists/common-4
wget --no-check-certificate http://dl.packetstormsecurity.net/Crackers/wordlists/common-3
wget --no-check-certificate http://dl.packetstormsecurity.net/Crackers/wordlists/common-2
https://api.hackerone.com
https://hackerone-attachments.s3.amazonaws.com
https://hackerone.com
https://profile-photos.hackerone-user-content.com
https://www.hackerone.com
https://api.coinbase.com
https://api.gdax.com
https://assets.coinbase.com
https://buy.coinbase.com
https://fix.gdax.com
https://irccloud-cdn.com
https://irccloud.com
https://urbandictionary.com
https://urbandictionary.net
https://periscope.tv
https://pscp.tv
https://twimg.com
https://twitter.com
https://vine.co
https://cash.me