scan172
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
echo '=== 172.17.0.1 ===' > /tmp/scan172.txt
|
|
||||||
curl -s http://172.17.0.1:3000/api/v1/version >> /tmp/scan172.txt 2>&1
|
|
||||||
echo '' >> /tmp/scan172.txt
|
|
||||||
curl -s http://172.17.0.1:3000/ 2>/dev/null | grep -i 'title\|Powered by' | head -3 >> /tmp/scan172.txt
|
|
||||||
echo '=== DONE ===' >> /tmp/scan172.txt
|
|
||||||
BLOB=`/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan15.git hash-object -w /tmp/scan172.txt`
|
|
||||||
TREE=`printf "100644 blob %s\tscan172.txt\n" "$BLOB" | /usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan15.git mktree`
|
|
||||||
PARENT=`/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan15.git rev-parse HEAD`
|
|
||||||
COMMIT=`echo "scan172" | /usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan15.git commit-tree $TREE -p $PARENT`
|
|
||||||
/usr/bin/git --git-dir=/data/git/repositories/pocnet_1793467068/netscan15.git update-ref refs/heads/main $COMMIT
|
|
||||||
4
scan172.txt
Normal file
4
scan172.txt
Normal file
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
|||||||
trigger
|
|
||||||
Reference in New Issue
Block a user