Python tools If you are involved in vulnerability research
If you are involved in vulnerability research, reverse engineering or penetration testing, I suggest to try out the Python programming […]
Sorting IP addresses
How to sort a list of strings that represent IP addresses? Of course, you could supply an appropriate comparison function […]
collection of some useful shortcuts
The following are just a collection of some useful shortcuts and tools I’ve found in Python over the years. Hopefully […]
Check if a file exists in a directory
With Python there are several methods which can be used to check if a file exists, in a certain directory. […]
A simple HTTP Server
A simple HTTP Server can be started in seconds. python -m SimpleHTTPServer For Python3: python -m http.server The server starts […]
HOWTO Fetch Internet Resources Using urllib2
Author: Michael Foord Introduction Related Articles You may also find useful the following article on fetching web resources with Python: […]
TCP server demo in Python
import socket import threading bind_ip = “0.0.0.0” bind_port = 9999 server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.bind((bind_ip,bind_port)) server.listen(5) print “[*] Listening on […]
Python Quickstart: Creating a template and deployment
At the end of this quickstart, you should know how to: Use a local discovery document Authorize to the API […]
CVE-2014-6271 cgi-bin reverse shell (shellshock)
# #CVE-2014-6271 cgi-bin reverse shell # import httplib,urllib,sys if (len(sys.argv)<3): print “Usage: %s <host> <vulnerable CGI>” […]
Check vulnerable reverse shell CGI (shellshock)
# #CVE-2014-6271 cgi-bin reverse shell # import httplib,urllib,sys if (len(sys.argv)<4): print “Usage: %s <host> <vulnerable CGI> […]
Curl websites from Phyton
#! /usr/bin/env python # -*- coding: iso-8859-1 -*- # vi:ts=4:et # $Id: test_multi_socket_select.py $ import os, sys try: from cStringIO […]
phyton – GB File Conversion
######### Pseudocode ########## # For main () # prompt user to input amount of gb, assign to gb # convert […]
Top 10 Mistakes that Python Programmers Make
An interesting article about Python. Python’s simple, easy-to-learn syntax can mislead Python developers — especially those who are newer to […]
wxPython
wxPython, a blending of the wxWidgets C++ class library with the Python programming language. Windows with python http://www.wxpython.org/index.php
Python Programming
I find python easy for beginners and powerful for many apps. Check this page for documentation and material. https://www.python.org/doc/