Skip to content

Instantly share code, notes, and snippets.

@berkantaydin
berkantaydin / country2nmap.py
Created May 19, 2016 20:19 — forked from r1b/country2nmap.py
Convert nirsoft country .csv ip ranges to nmap target selection format
# I am not responsible &c
# RCJ 2014
import sys
import requests
url = 'http://www.nirsoft.net/countryip/' + sys.argv[1] + '.csv'
r = requests.get(url)
if r.status_code != 200:
print "Bad country code: " + sys.argv[1]
@berkantaydin
berkantaydin / ixgbevf-upgrade.sh
Created November 28, 2015 12:31 — forked from vdm/ixgbevf-upgrade.sh
ixgbevf 2.16.1 upgrade for AWS EC2 SR-IOV "Enhanced Networking" on Ubuntu 14.04 (Trusty) LTS
ssh [email protected] "bash -s -x" -- <ixgbevf-upgrade.sh
@berkantaydin
berkantaydin / README.md
Created October 21, 2015 07:47 — forked from hallazzang/README.md
How to make LOL(League of Legends) chat bot (in Python)

How to make LOL(League of Legends) chat bot

  1. Install xmpppy module for python. (Manually download it from Downloads Page or try easy_install xmpppy)
  2. Create a script file. (Ex. lol_echo_bot.py)
  3. Follow steps below.

Import xmpp.

@berkantaydin
berkantaydin / tor.sh
Created October 19, 2015 14:48
new tor identitiy command line bash
(echo authenticate 'f09c7cea3787dc991bbe558deecb5efgg273d0f8547f3bccb6ad6620858bbaaa'; echo signal newnym; echo quit) | nc localhost 9151 && proxychains4 curl ifconfig.co