Is it still possible ?

jkrsn
8 years ago

0

I have just completed the main levels and I was thinking is there a tool on kali linux or a google dork to find passwords within the source code of a webpage ?

5replies
3voices
204views
1image
? [bolofecal]
8 years ago

0

Using python you can get values of any element in page, but this method needs you search some reference, you can search names, ids, data atributes like pass, password, passwd… but this is not so good method because the code can be name="passwrd" or another, if you want some e.g. of this code I can send to you.

jkrsn
8 years ago

0

Yes @bolofecal you can just post the code here so everyone can see and learn.

Mugi [Mugiwara27]
8 years ago

0

He’s not going to do so because it’ll just tell you solution of every mains level :)

jkrsn
8 years ago

0

Image

ok fine just pm me the details
thanks

? [bolofecal]
8 years ago

0

This is a e.g. code, not solve the level

```from BeautifulSoup import BeautifulSoup
import requests

url = ‘https://www.****hackthis.****co.********uk
page = requests.get(url)
soup = BeautifulSoup(page.content)
divs = soup.findAll(‘div’) # Will search for all divs

Will print the text of each div

for i in divs:
print i.text```

You must be logged in to reply to this discussion. Login
1 of 6

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss