Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX ISSUES #106

Merged
merged 4 commits into from
Jun 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ function debianOS(){
echo -e "#!/bin/bash
python3 /usr/share/vulnx/vulnx.py" '${1+"$@"}' > "vulnx";
chmod +x "vulnx";
if [[ ! -d "/usr/share/vulnx" ]];then
sudo mkdir "/usr/share/vulnx"
fi
sudo cp "install.sh" "/usr/share/vulnx"
sudo cp "update.sh" "/usr/share/vulnx"
sudo cp -r "./common" "/usr/share/vulnx/"
Expand All @@ -104,6 +106,7 @@ function debianOS(){
fi
}
#main
if [[ $UID -eq 0 ]]; then
if [ -d "/data/data/com.termux/files/usr/" ]; then
banner
echo -e "$red [$green+$red]$off Vulnx Will Be Installed In Your System";
Expand All @@ -116,3 +119,6 @@ else
echo -e "$red [$green✘$red]$off Tool Cannot Be Installed On Your System! Use It As Portable !";
exit
fi
else
echo "You must run as root..."
fi
2 changes: 1 addition & 1 deletion modules/dns_dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def dnsdumper(url):
print(' %s Retrieved token: %s' % (info, csrf_token))
cookies = {'csrftoken': csrf_token}
headers = {'Referer': 'https://dnsdumpster.com/'}
data = {'csrfmiddlewaretoken': csrf_token, 'targetip': domain}
data = {'csrfmiddlewaretoken': csrf_token, 'targetip': domain, 'user': 'free'}
response = requests.Session().post('https://dnsdumpster.com/',
cookies=cookies, data=data, headers=headers)
image = requests.get('https://dnsdumpster.com/static/map/%s.png' % domain)
Expand Down
2 changes: 1 addition & 1 deletion modules/dorks/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def _google_singlepage_(self):
set_dork = self.__setdork__()
google_query = 'https://www.google.com/search?q=' + set_dork['dork']
print(' {0} searching for : {1}' .format(que, google_query))
response = requests.get(google_query,headers=self.headers).text
response = requests.get(google_query,headers=self.headers,verify=False).text
return response

def _google_multipage_(self,num_p):
Expand Down
4 changes: 2 additions & 2 deletions modules/gathering/host_gathering.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def match_printer(self,to_match,match):

def os_server(self):

response = requests.get(self.url, headers=self.headers).headers
response = requests.get(self.url, headers=self.headers,verify=False).headers
try:
regx = re.compile(r"(.+) \((.+)\)")
data = regx.search(response["server"])
Expand All @@ -38,7 +38,7 @@ def os_server(self):

def web_host(self):
urldate = "https://input.payapi.io/v1/api/fraud/domain/age/" + hostd(self.url)
getinfo = requests.get(urldate, self.headers).text
getinfo = requests.get(urldate, self.headers,verify=False).text
regex_date = r'Date: (.+?)-(.+?)'
regex_date = re.compile(regex_date)
matches = re.search(regex_date, getinfo)
Expand Down
7 changes: 4 additions & 3 deletions vulnx.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,10 @@ def signal_handler(signal, frame):
if root.startswith('http://'):
url = root
elif root.startswith('https://'):
url=root.replace('https://','http://')
url = root
# url=root.replace('https://','http://')
else:
url = 'http://'+root
url = 'https://'+root
print(url)
detection()

Expand All @@ -166,7 +167,7 @@ def signal_handler(signal, frame):
if root.startswith('http'):
url = root
else:
url = 'http://'+root
url = 'https://'+root
detection()
urls.close()
except Exception as error:
Expand Down