This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| magnet:?xt=urn:btih:827FBFFA925AF95BA20C7C0BA8D35807C1E31C75&dn=Combined_HaveIBeenPwnedWordlists.txt&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80%2fannounce&tr=udp%3a%2f%2ftracker.opentrackr.org%3a1337%2fannounce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import SimpleHTTPServer | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| class RangeHTTPRequestHandler(SimpleHTTPRequestHandler): | |
| """RangeHTTPRequestHandler is a SimpleHTTPRequestHandler | |
| with HTTP 'Range' support""" | |
| def send_head(self): | |
| """Common code for GET and HEAD commands. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $Hso = New-Object Net.HttpListener | |
| $Hso.Prefixes.Add("http://+:8000/") | |
| $Hso.Start() | |
| While ($Hso.IsListening) { | |
| $HC = $Hso.GetContext() | |
| $HRes = $HC.Response | |
| $HRes.Headers.Add("Content-Type","text/plain") | |
| $Buf = [Text.Encoding]::UTF8.GetBytes((GC (Join-Path $Pwd ($HC.Request).RawUrl))) | |
| $HRes.ContentLength64 = $Buf.Length | |
| $HRes.OutputStream.Write($Buf,0,$Buf.Length) |