Skip to content

Commit ceba4e6

Browse files
committed
Add pointer to CDX API
1 parent c12056d commit ceba4e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/auxiliary/scanner/http/enum_wayback.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def pull_urls(targetdom)
3737
response = ""
3838
pages = []
3939
header = { 'User-Agent' => "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/4.0.221.6 Safari/525.13"}
40+
# https://github.com/internetarchive/wayback/tree/master/wayback-cdx-server
4041
clnt = Net::HTTP::Proxy(@proxysrv,@proxyport,@proxyuser,@proxypass).new("web.archive.org")
4142
resp = clnt.get2("/cdx/search/cdx?url="+Rex::Text.uri_encode("#{targetdom}/*")+"&fl=original",header)
4243
response << resp.body

0 commit comments

Comments
 (0)