You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git tag -n
2.1.6 Merge pull request #268 from RealRancor/six_cms
2.5.0 Ran tidy for#727
git branch
* master
git show summary
commit b7233c38605b7d95084f661b071bc0cfd233dbc6 (HEAD -> master, origin/master, origin/HEAD)
Author: Sullo <[email protected]>
Date: Fri Nov 15 16:31:52 2024 -0500
Add some Azure App Service headers
I scan with these parameters:
/apps/nikto/program/nikto.pl -host example.com -port 443 -ipv4 -Cgidirs none -maxtime 240 -timeout 3 -ask auto -nointeractive -no404 --Format json -output "/tmp/somefile.json".
Lastly, the target I scanned has two redirects:
1. A HTML-metadata refresh redirect from https://a.example.com to https://b.example.com
2. A HTTP 302 redirect from https://b.example.com to https://b.example.com/login
My temporary quick and dirty fix for now:
functionvalidate_json() {
jq empty "$1">/dev/null 2>&1
}
if [ -f"$FILE" ];thenif! validate_json "$FILE";thenecho"$FILE contains invalid JSON. Attempting to fix."# Replace occurrences of `}{` with `},{`
sed -i 's:}{:},{:g'"$FILE"# Replace occurrences of `[,` with `[`
sed -i 's:\[,:\[:g'"$FILE"fiif! validate_json "$FILE";thenecho"Fix failed. $FILE still contains invalid JSON."
mv "$FILE""${FILE%.json}.json-corrupt"fifi
Also, finding 999962 is placed in the root of the [] instead of in vulnerabilities (I fix that with jq now):
[{
"id": "999962",
"method": "GET",
"url": "/",
"msg": ": Server banner changed from 'Microsoft-Azure-Application-Gateway/v2' to 'Microsoft-IIS/10.0'."
}, {
"host": "xxx",
"ip": "xxx",
"port": "443",
"banner": "",
"vulnerabilities": [{
Originally posted by @JaneX8 in #599
The text was updated successfully, but these errors were encountered: