Skip to content

Commit

Permalink
Add CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
drighetto committed Jan 30, 2024
1 parent 66bd571 commit 4e960e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
############################################################
# Define the output file destination
OUT=/tmp/out-$RANDOM-$RANDOM.tmp
echo "OUT set to file: $OUT."
echo "[+] OUT set to file: $OUT."
# Execute the script
python wpr.py -d righettod.eu -s -n 8.8.8.8 -t 30 > $OUT
# Validate the execution
marker=$(grep -Fc "Reconnaissance finished" $OUT)
echo "Marker occurences found into the OUT file: $marker."
echo "[+] Marker occurences found into the OUT file: $marker."
rm $OUT
if [ $marker -eq 0 ]
then
Expand Down

0 comments on commit 4e960e2

Please sign in to comment.