소스 검색

Added script for partner WAF exception

main
kusum 6 달 전
부모
커밋
3b5784cf19
1개의 변경된 파일15개의 추가작업 그리고 0개의 파일을 삭제
  1. 15
    0
      PartnerAutomation/waap-labs/waap_partner_wafexceptions.sh

+ 15
- 0
PartnerAutomation/waap-labs/waap_partner_wafexceptions.sh 파일 보기

@@ -0,0 +1,15 @@
#!/bin/bash

# Prompt for URL prefix
read -p "Enter the prefix for your hostaname: " prefix

# Define the path
PATH='search?q=apple'

/usr/bin/curl -s -S "https://$prefix.appsec-akaed.com/$PATH" \
-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.193 Safari/537.36' \
-H 'waf_exception: <iframe src="javascript:alert(`Perf Tool Test`)">' \
--compressed \
-D - \
-o /dev/null
echo " Finished"

Loading…
취소
저장