mirror of
https://github.com/danielmiessler/SecLists.git
synced 2026-08-15 23:46:04 +00:00
Update check-file-for-starting-slash
This commit is contained in:
committed by
GitHub
parent
2522c0e676
commit
d29e1b281e
@@ -9,6 +9,7 @@ for modified_file in $modified_files
|
|||||||
do
|
do
|
||||||
echo "[+] Check $modified_file ..."
|
echo "[+] Check $modified_file ..."
|
||||||
matches=$(grep -cE '^/[a-zA-Z0-9\._]+' $modified_file)
|
matches=$(grep -cE '^/[a-zA-Z0-9\._]+' $modified_file)
|
||||||
|
echo "Entries identified starting with a slash: matches"
|
||||||
if [ $matches -ne 0 ]
|
if [ $matches -ne 0 ]
|
||||||
then
|
then
|
||||||
echo "::warning file=$modified_file,line=1,col=1,endColumn=1::$matches entries start with a slash."
|
echo "::warning file=$modified_file,line=1,col=1,endColumn=1::$matches entries start with a slash."
|
||||||
|
|||||||
Reference in New Issue
Block a user