Last active
July 13, 2020 17:37
-
-
Save joubin/a3851bdf63595cd2c8f5 to your computer and use it in GitHub Desktop.
Revisions
-
joubin revised this gist
Feb 23, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ # # Version 1.0 # This script will pass a linux HTML header causing safe connect to ignor the host mac address as safeconnect is not developed for *nix machines # For educational purposes only. # Joubin Jabbari import sys -
joubin created this gist
May 13, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ #!/usr/bin/python # # Version 1.0 # This script will pass a linux HTML header causing safe connect to ignor the host mac address as safeconnect is not developed for *nix machines # For educational perposes only. # Joubin Jabbari import sys import urllib2 import random #Reads OS type and picks random one. array = ["64","ABC","Asturix","Aurora","BackBox","BackTrack","Baltix","Bharat","BlankOn","Bodhi","Buildix","Caixa","Canaima","Corel","CrunchBang","Distribution","Dreamlinux","EasyPeasy","Edubuntu","Element","Elive","Finnix","Fluxbuntu","Freespire","Gibraltar","Gobuntu","Goobuntu","Guadalinex","HP","Hiweed","Impi","Instant","Joli","Kanotix","Karoshi","Knoppix","Kubuntu","Kuki","Kurumin","LEAF","LOUD","Leeenux","LiMux","Linspire","Linux","LinuxMCE","LinuxTLE","LliureX","Lubuntu","MAX","MEPIS","Maemo","MintPPC","Molinux","Moon","Mythbuntu","Neopwn","NepaLinux","Netrunner","Nova","OpenGEU","OpenZaurus","PC/OS","PSUbuntu","Parsix","Peppermint","Pinguy","Poseidon","Progeny","PureOS","Qimo","Rxart","Sabily","Sacix","Skolelinux","SolusOS","Spri","Sunwah","Super","Symphony","TAILS","Trisquel","TurnKey","UberStudent","Ubuntu","Ulteo","Univention","UserLinux","Vinux","Vyatta","Webconverger","XBMC","Xandros","Xubuntu","Ylmf","Zentyal","ZevenOS","Zorin","[edit]","aptosid","dyne:bolic","gNewSense","gOS","gnuLinEx","grml","nUbuntu","puredyne"] mySystem = random.choice(array) #opens URL opener = urllib2.build_opener() opener.addheaders = [('User-agent', 'Mozilla/5.0 (x11; U; '+mySystem+'; en-US; rv:1.9.1.16) Gecko/20101130 Firefox/3.5.16')] opener.open('http://'+sys.argv[1]+'')