tgoop.com/zeeprogrammer/2377
Last Update:
import webtech
Then we can start a new instance with the wt variable:wt = webtech.WebTech()
And start a scan of the desired URL (I had to also set a short timeout or it wouldn't work) and save that to the results variable:results = wt.start_from_url('https://null-byte.wonderhowto.com/', timeout=1)
Finally, we can print the results of the scan to the screen:print results
The final script should look like this:
#!/usr/bin/python import webtech wt = webtech.WebTech() results = wt.start_from_url('https://null-byte.wonderhowto.com/', timeout=1) print results
We can now run our script with the python command we set up above:~# python scan.py Target URL: https://null-byte.wonderhowto.com/ Detected technologies: - jQuery 1.7 - Google Font API - comScore Detected the following interesting custom headers: - Server: WonderHowTo - X-UA-Compatible: IE=Edge,chrome=1 - X-Server-Name: APP03
Here we can see that we've obtained the same results as before. Keep in mind, this was just a simple proof-of-concept — we could make this a lot more robust if we wanted.
BY Tech Program
Share with your friend now:
tgoop.com/zeeprogrammer/2377