Skip to content

Commit

Permalink
Update Cloudtopolis.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGMSec authored Apr 12, 2022
1 parent 0f646a1 commit a314224
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Cloudtopolis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@
"# [ Connecting with Cloudtopolis Server ]\n",
"!echo -e \"\\n\\e[34;1m[i] Connecting with Cloudtopolis Server..\\e[0m\"\n",
"if not VPS:\n",
" try:\n",
" auth.authenticate_user()\n",
" except:\n",
" !gcloud auth login --quiet\n",
" auth.authenticate_user()\n",
" !echo -e \"\\e[0mCloud Shell Mode enabled!\"\n",
" !gcloud cloud-shell --quiet ssh --ssh-flag=\"-o TCPKeepAlive=yes\" --ssh-flag=\"-N\" --ssh-flag=\"-T\" --ssh-flag=\"-C\" --ssh-flag=\"-L 8000:localhost:8000\" --ssh-flag=\"-4\" </dev/null &>/dev/null &\n",
"\n",
" gcloud = !curl http://localhost:8000/api/server.php\n",
" if \"refused\" in str(gcloud):\n",
" !echo -e \"\\n\\e[31;1m[!] Google Auth failed! Execute this command in your PC!\\e[0m\"\n",
" !gcloud auth login --quiet\n",
"else:\n",
" !echo -e \"\\e[0mVPS Mode enabled!\"\n",
" !apt install sshpass -y -qq > /dev/null 2>&1\n",
Expand Down

0 comments on commit a314224

Please sign in to comment.