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 python3 | |
| # ircecho.py | |
| # Copyright (C) 2011 : Robert L Szkutak II - http://robertszkutak.com | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 3 of the License, or | |
| # (at your option) any later version. | |
| # |
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
| /* credits to http://blog.techorganic.com/2015/01/04/pegasus-hacking-challenge/ */ | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #include <netinet/in.h> | |
| #include <sys/types.h> | |
| #include <sys/socket.h> | |
| #define REMOTE_ADDR "XXX.XXX.XXX.XXX" | |
| #define REMOTE_PORT XXX |
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
| /* usage: hexdump <file-in> [file-out] */ | |
| #include <stdio.h> | |
| #define CHUNK 16 | |
| FILE *hexdump_open(const char *path, const char *mode) { | |
| FILE *fp; | |
| if (!(fp = fopen(path, mode))) { | |
| printf("error opening '%s'", path); |
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
| #! /bin/bash | |
| # Script to download an apk from goole play store | |
| # APkPure.com is used as actual download mirror | |
| # You have to provide app name and app package name | |
| # download.sh app-name app-package-name | |
| if [ -z "$1" ] || [ -z "$2" ] | |
| then | |
| echo -e "Usage ./download.sh app-name app-package-name" | |
| exit 1 |
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
| # How to run | |
| # In the folder with these files | |
| # sudo python -m SimpleHTTPServer 80 | |
| # | |
| # Update the ip at the bottom of this file to the output of | |
| # hostname -I | |
| # This is your ip | |
| # | |
| # Start debian cd | |
| # Press esc on menu |