$wget = Invoke-WebRequest -UseBasicParsing -Uri "https://www.abuseipdb.com/check/50.31.21.4" `
-WebSession $session `
-Headers @{
"authority"="www.abuseipdb.com"
"method"="GET"
"path"="/check/50.31.21.4"
"scheme"="https"
"accept"="text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7"
"accept-encoding"="gzip, deflate, br, zstd"
"accept-language"="ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7"
"accept-charset" = "utf-8"
"referer"="https://www.abuseipdb.com/"
"sec-ch-ua"="`"Chromium`";v=`"122`", `"Not(A:Brand`";v=`"24`", `"Google Chrome`";v=`"122`""
"sec-ch-ua-arch"="`"x86`""
"sec-ch-ua-bitness"="`"64`""
"sec-ch-ua-full-version"="`"122.0.6261.129`""
"sec-ch-ua-full-version-list"="`"Chromium`";v=`"122.0.6261.129`", `"Not(A:Brand`";v=`"24.0.0.0`", `"Google Chrome`";v=`"122.0.6261.129`""
"sec-ch-ua-mobile"="?0"
"sec-ch-ua-model"="`"`""
"sec-ch-ua-platform"="`"Windows`""
"sec-ch-ua-platform-version"="`"10.0.0`""
"sec-fetch-dest"="document"
"sec-fetch-mode"="navigate"
"sec-fetch-site"="same-origin"
"sec-fetch-user"="?1"
"upgrade-insecure-requests"="1"
}
$wget
Key Value
--- -----
Transfer-Encoding chunked
Connection keep-alive
X-RateLimit-Limit 60
X-RateLimit-Remaining 59
Cache-Control max-age=0, no-cache
Content-Type text/html; charset=UTF-8
Date Wed, 10 Apr 2024 12:19:54 GMT
Set-Cookie XSRF-TOKEN=eyJpdiI6ImY1TFZlYUorYjFFclpxZ2VCTG0yTHc9PSIsInZhbHVlIjoienNmdD...
X-Mod-Pagespeed 1.13.35.2-0
X-Frame-Options DENY
Vary Accept-Encoding
CF-Cache-Status DYNAMIC
Report-To {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=6hgQYe...
NEL {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server cloudflare
CF-RAY 8722b0122af082a0-ARN
Content-Encoding br
alt-svc h3=":443"; ma=86400
[Console]::outputEncoding = [System.Text.Encoding]::GetEncoding('cp866')
[Console]::outputEncoding = [System.Text.Encoding]::GetEncoding(‘windows-1251’)
[console]::OutputEncoding = [System.Text.Encoding]::UTF8
Благодарю, не знал, что есть такой режим