diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/aws.xml b/.idea/aws.xml
new file mode 100644
index 0000000..b63b642
--- /dev/null
+++ b/.idea/aws.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..cffba4e
--- /dev/null
+++ b/.idea/codeStyles/Project.xml
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..a55e7a1
--- /dev/null
+++ b/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..639900d
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/penglab.ipynb b/penglab.ipynb
index 2654e95..de15a42 100644
--- a/penglab.ipynb
+++ b/penglab.ipynb
@@ -1,26 +1,21 @@
{
- "nbformat": 4,
- "nbformat_minor": 0,
- "metadata": {
- "colab": {
- "name": "Penglab.ipynb",
- "provenance": [],
- "collapsed_sections": []
- },
- "kernelspec": {
- "name": "python3",
- "display_name": "Python 3"
- },
- "accelerator": "GPU"
- },
"cells": [
{
"cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
"metadata": {
- "id": "vp4LSKizX-8E",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "vp4LSKizX-8E"
},
+ "outputs": [],
"source": [
"#Penglab (Abuse of Google Colab for fun and profit)\n",
"#by mxrch\n",
@@ -47,17 +42,25 @@
"if (python_shell and bash_shell) or (bash_shell and ssh) or (ssh and python_shell) :\n",
" print(\"Please do a choice\")\n",
" exit()"
- ],
- "execution_count": 0,
- "outputs": []
+ ]
},
{
"cell_type": "code",
+ "execution_count": 19,
"metadata": {
- "id": "bG3hglwpZCB_",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "bG3hglwpZCB_"
},
+ "outputs": [
+ {
+ "name": "stderr",
+ "output_type": "stream",
+ "text": [
+ "The syntax of the command is incorrect.\n"
+ ]
+ }
+ ],
"source": [
"#Wordlists\n",
"import os\n",
@@ -77,17 +80,31 @@
" !printf \"[+] Wordlist downloaded !\\n[+] Extraction...\\n\"\n",
" !cd $wordlists_dir && gunzip hashesorg2019.gz\n",
" !printf \"[+] Finished !\\n[+] Location : $(pwd)/$wordlists_dir/$(ls wordlists | grep hashesorg2019)\""
- ],
- "execution_count": 0,
- "outputs": []
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
},
{
"cell_type": "code",
+ "execution_count": 15,
"metadata": {
- "id": "nkcgYemCZA2n",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "nkcgYemCZA2n"
},
+ "outputs": [],
"source": [
"#Install of hashcat\n",
"if hashcat:\n",
@@ -95,33 +112,33 @@
" !apt install cmake build-essential -y\n",
" !apt install checkinstall git -y\n",
" !git clone https://github.com/hashcat/hashcat.git && cd hashcat && make -j 8 && make install"
- ],
- "execution_count": 0,
- "outputs": []
+ ]
},
{
"cell_type": "code",
+ "execution_count": 16,
"metadata": {
- "id": "lJ4ftp1ua3e9",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "lJ4ftp1ua3e9"
},
+ "outputs": [],
"source": [
"#Install of john\n",
"if john:\n",
" print(\"Installation of john...\")\n",
" !apt-get install john -y"
- ],
- "execution_count": 0,
- "outputs": []
+ ]
},
{
"cell_type": "code",
+ "execution_count": 17,
"metadata": {
- "id": "nYd0hAxYdSJs",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "nYd0hAxYdSJs"
},
+ "outputs": [],
"source": [
"#Install of hydra\n",
"if hydra:\n",
@@ -129,17 +146,29 @@
" !apt install cmake build-essential -y\n",
" !apt install checkinstall git -y\n",
" !git clone https://github.com/vanhauser-thc/thc-hydra.git && cd thc-hydra && ./configure && make && make install"
- ],
- "execution_count": 0,
- "outputs": []
+ ]
},
{
"cell_type": "code",
+ "execution_count": 18,
"metadata": {
- "id": "erA610RJM1GK",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "erA610RJM1GK"
},
+ "outputs": [
+ {
+ "ename": "ModuleNotFoundError",
+ "evalue": "No module named 'termcolor'",
+ "output_type": "error",
+ "traceback": [
+ "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
+ "\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
+ "Cell \u001b[1;32mIn[18], line 2\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[39m#Setting up shells\u001b[39;00m\n\u001b[1;32m----> 2\u001b[0m \u001b[39mfrom\u001b[39;00m \u001b[39mtermcolor\u001b[39;00m \u001b[39mimport\u001b[39;00m colored\n\u001b[0;32m 3\u001b[0m \u001b[39mimport\u001b[39;00m \u001b[39mos\u001b[39;00m\n\u001b[0;32m 5\u001b[0m \u001b[39mif\u001b[39;00m ssh:\n",
+ "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'termcolor'"
+ ]
+ }
+ ],
"source": [
"#Setting up shells\n",
"from termcolor import colored\n",
@@ -189,24 +218,48 @@
" print('Just use the code block below and start your commands by a \"!\" (make sure to uncomment them).')\n",
" print('▶️ When you\\'re ready, hit the run button at the left of the code block !\\n')\n",
" print('|\\n|\\n|\\nV')"
- ],
- "execution_count": 0,
- "outputs": []
+ ]
},
{
"cell_type": "code",
+ "execution_count": null,
"metadata": {
- "id": "7ucWO9luB4RG",
+ "colab": {},
"colab_type": "code",
- "colab": {}
+ "id": "7ucWO9luB4RG"
},
+ "outputs": [],
"source": [
"# Put your code here :\n",
"# !hashcat -h\n",
"# !john --help"
- ],
- "execution_count": 0,
- "outputs": []
+ ]
+ }
+ ],
+ "metadata": {
+ "accelerator": "GPU",
+ "colab": {
+ "collapsed_sections": [],
+ "name": "Penglab.ipynb",
+ "provenance": []
+ },
+ "kernelspec": {
+ "display_name": "Python 3",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.11.4"
}
- ]
+ },
+ "nbformat": 4,
+ "nbformat_minor": 0
}