Skip to content

Instantly share code, notes, and snippets.

View intrd's full-sized avatar
💭
Things do not change, we change (silently).

intrd

💭
Things do not change, we change (silently).
View GitHub Profile
@intrd
intrd / keybase.md
Created September 27, 2015 17:58
keybase.md

Keybase proof

I hereby claim:

  • I am intrd on github.
  • I am intrd (https://keybase.io/intrd) on keybase.
  • I have a public key whose fingerprint is C2BE 4116 DD3B D236 54AC 75E5 32E1 7580 3ABE 5810

To claim this, I am signing this object:

@intrd
intrd / drive-sync.sh
Last active March 3, 2017 06:05
Google Drive - Auto-sync(push/pull) script for odeke-em/drive
#!/bin/bash
## Google Drive - Auto-sync(push/pull) script for odeke-em/drive
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
# gdrive4linux - https://github.com/odeke-em/drive
# crontab line: */1 * * * * /home/intrd/cloud/sync.sh >> /home/intrd/cloud/log.txt 2>&1
# Uncomment "while" to test w/out cron
#while true
@intrd
intrd / jhydra.sh
Last active March 3, 2017 06:05
Bruteforcing with THC Hydra + John the ripper on-the-fly (funoverip shellscript reloaded by intrd)
#!/bin/sh
## Bruteforcing with THC Hydra + John the ripper on-the-fly (funoverip script reloaded by intrd)
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
hydra="hydra" #bin call of thchydra
john="john" #bin call of john
hydra_login="null"
hydra_module="http-form-post" #bruteforce type (in this case http)
@intrd
intrd / br_allow.sh
Last active August 15, 2023 15:33
IPtables - Rulescript to allow only brazilian ip's
#!/bin/bash
## IPtables - Rulescript to allow only brazilian ip's
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
# Brazil
ipset -F br.zone
ipset -N br.zone nethash
for IP in $(wget -O - http://www.ipdeny.com/ipblocks/data/countries/br.zone)
do ipset -A br.zone $IP
@intrd
intrd / datecrack.sh
Last active March 3, 2017 06:04
Simple datecrack
#!/bin/bash
## Simple datecrack
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
cd /home/intrd/path/
sudo date --set='Thu Oct 10 17:17:04 EST 2016'
java -jar program.jar
@intrd
intrd / vpn_start.sh
Last active March 3, 2017 06:04
OpenVPN - Shuffle ip, start and isolate tun0
#!/bin/bash
## OpenVPN - Shuffle ip, start and isolate tun0
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
# dep: https://gist.github.com/intrd/55576b75a9945ae6e611fba49f1a4b0d
#sort a vpn
VPN="$(shuf -n 1 /home/intrd/openvpn/xvpn/ips.txt | cut -f2 -d' ')"
@intrd
intrd / routescript.sh
Last active March 3, 2017 06:04
OpenVPN - Script to extract/set gateway of tun0
#!/bin/sh
## OpenVPN - Script to extract/set gateway of tun0
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
# to autorun, put this on your ovpn file
# script-security 2
# up '/home/intrd/openvpn/xvpn/routescript.sh'
#sleep 5
@intrd
intrd / wifiup.sh
Last active March 3, 2017 06:04
Wpa_supplicant - Script to macchange, start a wpa connection, flush/isolate route and set dns servers
#!/bin/bash
## Script to chance mac, start a wpa connection, flush route and set dns servers
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
#kill network services
#sudo airmon-ng check kill
#macchanger
sudo ifconfig wlan0 down
@intrd
intrd / metasploit_hwinfo.rb
Last active March 3, 2017 06:04
Metasploit - Script to extract machine hw info
## Metasploit script to extract machine hw info
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
@client = client
meter_type = client.platform
host = @client.sys.config.sysinfo["Computer"]
os = @client.sys.config.sysinfo["OS"]
#p host
system("php /home/intrd/scripts/log.php \"#{host} @ #{os}\"")
@intrd
intrd / hotstart.sh
Last active March 3, 2017 06:03
Tutorial - Create a wifi hotspot w/ hostapd and fwd internet (works on raspberrypi)
#!/bin/bash
## Create a wifi hotspot w/ hostapd and fwd internet (works on raspberrypi)
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
# /etc/network/interfaces
# auto wlan4
# allow-hotplug wlan4
# iface wlan4 inet static
# address 10.10.0.1