Python Progress Bar

Categories: Python

simple standalone bar u can implement it on your code it will show a progress bar of items range from time import sleep import sys for i in range(21): sys.stdout.write(‘\r’) # the exact output you’re looking for: sys.stdout.write(“[%-20s] %d%%” % (‘=’*i, 5*i)) sys.stdout.flush() sleep(0.25)  

Duplicate File Finder By MD5SUM

Categories: Python, Security

Hello this is a simple script to find the duplicated files by md5sum so if u have 2 files with the same content  but with different   names, u still can catch them #duplicate file finder by file md5sum #author N1X import sys import os import subprocess from os.path import join, abspath from os import walk from … Read More

TrueCrypt Password bruteforce

Categories: Python, Security

hello, guys, this  script will simply mount the container with the password form the given password list #!/usr/bin/env python #TrueCrypt Crack Passowrd Based In Dic Attack #Author : N1X import subprocess import sys file = open(sys.argv[2]) passlist=file.readlines() for password in passlist: print password.strip() command = “truecrypt -t –non-interactive %s -p %s” %(sys.argv[1],password.strip()) p = subprocess.Popen(command,shell=True,stderr=subprocess.PIPE) … Read More

Django Notes

Categories: Python

ORM Notes objects.all() objects.all().count() objects.filter(published=True).count() objects.filter(published=True).exists() objects.filter(published=True)[:2] objects.filter(published=True).values(‘title’,’created’)[:2] objects.filter(published=True).order_by(‘created’) objects.filter(published=True).order_by(‘-created’) objects.filter(published=True, created__gt=datetime(2011,05,01)) objects.filter(published=True, created__lt=datetime(2011,05,01)) objects.filter(published=True, created__lt=datetime(2011,05,01)).count() objects.filter(published=True, created__lt=datetime(2011,05,01)).order_by(‘id’) objects.filter(published=True, created__year=2011.order_by(‘id’) objects.filter(published=True, created__month=5, created__year=2011.order_by(‘id’)

Automatic flight ticket script

Categories: Python, Web

python script  to demonstrate  the splinter library this script keep searching till finding a ticket and book it  🙂 rest and wait your reservation number

Bitcoin Speech Price Tracker

Categories: Python

simple python script to bitcoin price speech is the target price reached it takes argument 1 as a target price simple but still useful to monitor bitcoin price via speech  

underc0de 3 WalkThrough

Categories: Python, Security, tech, Uncategorized, Web

loaded the virtual machine and run netdiscover to get the machine IP oot@n1x:~# netdiscover Currently scanning: 192.168.39.0/16 | Screen View: Unique Hosts 4 Captured ARP Req/Rep packets, from 4 hosts. Total size: 240 _____________________________________________________________________________ IP At MAC Address Count Len MAC Vendor —————————————————————————– 192.168.1.1 e8:94:f6:5d:c6:3b 01 060 Unknown vendor 192.168.1.2 00:18:fe:6d:61:27 01 060 Hewlett Packard … Read More

Script : MySQL Create Database UTF-8 with user and password

Categories: Databases, Python

we do  create many  databases every day and i love UTF-8 data formate so i decided to make  something simple and save my time here is the syntax to create a database called unixawy in utf8 CREATE DATABASE `unixawy` CHARACTER SET utf8 COLLATE utf8_general_ci; to add a user for unixawy with password unixawysecret GRANT ALL ON … Read More