This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import paramiko | |
| client = paramiko.SSHClient() | |
| client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
| client.connect('localhost', username='inndy', password='12341234') | |
| shell = client.invoke_shell(environment={'LC_ALL': 'en_US.UTF-8', 'LANG': '', 'LANGUAGE': ''}) | |
| print('[*] first shell data') | |
| print(shell.recv(4096)) | |
| print('-'*80) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #272822,#49483E,#FD971F,#FFFFFF,#49483E,#FFFFFF,#A6E22E,#EB4D5C,#49483E,#FFFFFF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| """DropboxToGDrive.ipynb | |
| Automatically generated by Colaboratory. | |
| """ | |
| from google.colab import drive | |
| drive.mount('/content/drive') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // fetch current EXE path from 64 bit PEB->Ldr (In 32 bit mode) | |
| // by aaaddress1@chroot.org | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <windows.h> | |
| typedef struct _PEB_LDR_DATA64 | |
| { | |
| ULONG Length; | |
| BOOLEAN Initialized; | |
| ULONG64 SsHandle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import base64 | |
| from Crypto.Cipher import ARC4 | |
| def str_decrypt(enc_data): | |
| key = 'fuckav\x00' | |
| cipher = ARC4.new(key) | |
| try: | |
| enc_data = base64.b64decode(enc_data) | |
| except: | |
| return enc_data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stddef.h> | |
| #include <stdio.h> | |
| #include <windows.h> | |
| #include <winternl.h> | |
| int main(void) { | |
| int ret = 0; | |
| PROCESS_INFORMATION PI = { 0 }; | |
| STARTUPINFOW SI = { 0 }; | |
| CONTEXT CTX = { CONTEXT_FULL }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| gcc mystrings.c -O3 -o mystrings | |
| gcc -DSTRING_LENGTH 99 -DBUFFER_SIZE 0x10000 mystrings.c -O3 -o mystrings | |
| */ | |
| #include <string.h> | |
| #include <fcntl.h> | |
| #include <sys/stat.h> | |
| #include <unistd.h> | |
| #include <sys/mman.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # put these lines into your ~/.bashrc | |
| alias paste="powershell.exe -Command Get-Clipboard" | |
| alias copy="powershell.exe -Command 'Set-Clipboard([Console]::In.ReadToEnd())'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -e | |
| SUBJ="/C=TW/ST=Taiwan/L=TPE/O=Goooooooooogle/OU=Goooooooooogle DevOops Team/emailAddress=reboot@goooooooooogle.com" | |
| ROOT_CA_NAME=GoooooooooogleRootCA | |
| ROOT_CA_DAYS=$((365*4)) | |
| ROOT_CA_BITS=8192 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $maze = ' | |
| 1111111 | |
| 1000001 | |
| 10S1001 | |
| 1001001 | |
| 10000E1 | |
| 1000001 | |
| 1111111 |