Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
import scanUrl
import scanWeb
import sys
def main(url, threadsCount = 10, All = False, timeout = -1, GET = True, deepSearch = False, cookies = {}):
if deepSearch:
return scanUrl.main(scanWeb.main(url, threadsCount), All, timeout, GET, cookies)
else:
return scanUrl.main(url, All, timeout, GET, cookies)
if __name__ == '__main__':
if len(sys.argv) == 2:
ans = main(sys.argv[1], 10, False, -1, True)
print("This Web Has Urls Below:")
for each in ans[0]:
print(each)
print("------------------------------")
print("These Url Below is Accessable:")
for each in ans[1]:
print(each)
print("------------------------------")
print("finished")
exit(0)
else:
url = "http://10.122.225.177/index"
ans = main(url, 10, False, -1, False, cookies = {"PHPSESSID": "8sf378a6ip25m3jlq8l06pd5a3"})
print("This Web Has Urls Below:")
for each in ans[0]:
print(each)
print("------------------------------")
print("These Url Below is Accessable:")
for each in ans[1]:
print(each)
print("------------------------------")
print("finished")
exit(0)