As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.
This file contains 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 | |
/* | |
- Socket Server PHP | |
| Author: P4kL0nc4t / Obsidian Cyber Team | |
| Date: 28 October 2017 | |
| Note: Editing author will not make you the real coder! | |
*/ | |
set_time_limit (0); | |
if(!empty($_GET['port']) && is_numeric($_GET['port'])) { | |
$port = $_GET['port']; |
This file contains 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/python | |
path = "panel/kcfinder/upload.php" | |
indicator = "Unknown" # don't change | |
import requests | |
import sys | |
print """\ | |
+-+-+-+ File Existency Checker (KCFinder) | |
|F|E|C| Simple Version | |
+-+-+-+ https://github.com/p4kl0nc4t | |
""" |
This file contains 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
<html> | |
<title>WordPress TimThumb Finder</title> | |
<?php | |
/* | |
* WordPress TimThumb Finder | |
* Author : P4kL0nc4t | |
* Date : 07/01/2018 | |
* Adapted from Wordpress TimThumb Finder v1.0 by Rafay Baloch (Python) -> https://dl.packetstormsecurity.net/UNIX/scanners/wptimthumb-scanner.txt | |
*/ | |
if(isset($_REQUEST['url'])) { |
This file contains 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 re | |
import requests | |
from bs4 import BeautifulSoup | |
import sys | |
import webbrowser | |
global_cookies = None | |
def the_end(): | |
print("\r|! end: successfully dumped {} urls from Google search query '{}' to file '{}' (end_page={})".format(len(cached_urls), sys.argv[1], sys.argv[3], pagenm)) |
This file contains 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 random | |
class credential_generator: | |
def __init__(self, username_list, password_list, email_list=['gmail.com', 'yahoo.com', 'yandex.com', 'protonmail.com']): | |
self.u_list = open(username_list, "r").readlines() | |
self.p_list = open(password_list, "r").readlines() | |
self.u_listf = [] | |
self.p_listf = [] | |
self.e_listf = email_list | |
for username in self.u_list: | |
self.u_listf.append(username.rstrip()) |
This file contains 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
main_char_lower = {"a": "b","c": "d","e": "f","g": "h","i": "j","k": "l","m": "n","o": "p","q": "r","s": "t","u": "v","w": "x","y": "z"} | |
for key,value in main_char_lower.items(): main_char_lower[value] = key | |
main_char_upper = dict() | |
for key,value in main_char_lower.items(): main_char_upper[key.upper()] = value.upper() | |
main_char_d_lower = dict() | |
for key,value in main_char_lower.items(): main_char_d_lower[value] = key | |
main_char_d_upper = dict() | |
for key,value in main_char_upper.items(): main_char_d_upper[value] = key | |
main_char_num = {"0": "1", "2": "3", "4": "5", "6": "7", "8": "9"} | |
for key,value in main_char_num.items(): main_char_num[value] = key |
This file contains 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
main_char_lower = {"a": "b","c": "d","e": "f","g": "h","i": "j","k": "l","m": "n","o": "p","q": "r","s": "t","u": "v","w": "x","y": "z"} | |
for key,value in main_char_lower.items(): main_char_lower[value] = key | |
main_char_upper = dict() | |
for key,value in main_char_lower.items(): main_char_upper[key.upper()] = value.upper() | |
main_char_d_lower = dict() | |
for key,value in main_char_lower.items(): main_char_d_lower[value] = key | |
main_char_d_upper = dict() | |
for key,value in main_char_upper.items(): main_char_d_upper[value] = key | |
main_char_num = {"0": "1", "2": "3", "4": "5", "6": "7", "8": "9"} | |
for key,value in main_char_num.items(): main_char_num[value] = key |
This file contains 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/python2 | |
# - sessi0n | |
# | Date: 18/02/2018 | |
# | Author: P4kL0nc4t | |
# | Description: simple tool to store PHP script as session variable and evaluate it. | |
print('''\ | |
_ ___ | |
___ ___ ___ ___ (_) _ \___ | sessi0n: session based PHP script | |
(_-</ -_|_-<(_-</ / // / _ \\ | { v1.1 } |
This file contains 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
# Mailist Grouper | |
import sys | |
print("""\ | |
+-----------------------------+ | |
| Mailist Grouper | | |
| P4kL0nc4t | 24/05/2018 | | |
+-----------------------------+ | |
""") | |
if len(sys.argv) != 2: | |
print("usage: %s <mailist.txt>" % sys.argv[0]) |
OlderNewer