3 ms·
Here's a simple PowerShell wrapper for your lovely tool: function rip { param ( [Parameter(Mandatory, ValueFromRemainingArguments)] [String]
by Natfan 5y ago
Here's a simple PowerShell wrapper for your lovely tool:
function rip {
param (
[Parameter(Mandatory, ValueFromRemainingArguments)]
[String]
$Query
)
$RequestParameters = @{
URI = "https://dontbeevil.rip/search?q=$Query"
Headers = @{ Accept = "text/plain" }
}
$Request = Invoke-RestMethod @RequestParameters
return $Request
}
Usage:
> rip heartbleed bug
Heartbleed Bug
<https://heartbleed.com/>
Heartbleed Bug The Heartbleed Bug The Heartbleed Bug is a
serious vulnerability in the popular OpenSSL cryptographic
software library....