Skip to content

Instantly share code, notes, and snippets.

View tahaghafuri's full-sized avatar
👨‍💻
Coding

Taha Amin Ghafuri [T@G] tahaghafuri

👨‍💻
Coding
View GitHub Profile
@PawanOsman
PawanOsman / OAI-ReverseProxy-FREE.md
Created March 7, 2023 22:57
OAI Reverse Proxy - FREE

Introduction:

Reverse proxy to use OpenAI API Join Our Discord Server 😁

Features

  1. Works same as OpenAI API
  2. Supports Streaming!
  3. It's FREE!
@rutcreate
rutcreate / README.md
Last active May 7, 2025 21:14
Install Python 3.10.x on Ubuntu 20.04

Prerequisite

sudo apt update
sudo apt install software-properties-common -y

Add custom APT repository

@tahaghafuri
tahaghafuri / clean.php
Created June 13, 2022 18:46
Anti Injection String PHP
function clean($text) {
$text=str_replace('/','',$text);
$text=str_replace('*','',$text);
$text=str_replace('+','',$text);
$text=str_replace('-',' ',$text);
$text=str_replace('_',' ',$text);
$text=str_replace('=','',$text);
$text=str_replace('`','',$text);
$text=str_replace('"','',$text);
$text=str_replace("'",'',$text);
@WorkingRobot
WorkingRobot / gitea-actions.py
Created May 1, 2022 08:01
Link your GitHub Actions to Gitea's CI API
#!/usr/bin/python3
import hashlib, hmac
import humanize
import json
import requests
from dateutil import parser
from http.server import HTTPServer, BaseHTTPRequestHandler
BIND_IP = "127.0.0.1"
@yashodhank
yashodhank / lic.xml
Last active September 30, 2024 11:45
psa activation
<?xml version="1.0" encoding="UTF-8"?><plesk-unified:key xmlns:plesk-unified="http://parallels.com/schemas/keys/products/plesk/unified/multi" core:format="openfusion-3" xmlns:core="http://parallels.com/schemas/keys/core/3">
<!--Unique product Key number-->
<core:key-number core:type="string">PLSK.09741637</core:key-number>
<!--Key version-->
<core:key-version core:type="string">0001</core:key-version>
<!--Key description-->
<core:description>
<core:keytype>Plesk Web Host Edition (14 Days Trial)</core:keytype>
<core:property core:value="99">Additional Language Packs</core:property>
</core:description>
@ifahadone
ifahadone / decompile-pyc-dir-recursively.py
Last active November 22, 2023 05:58
Maintains directory structure while decompiling ".pyc" to ".py" recursively
# --------- USAGE -----------
# USE THIS FILE IF YOU WANT TO MAINTAIN DIRECTORY STRUCTURE WHILE DECOMPILING ".PYC" TO ".PY" RECURSIVELY
# Install Python
# Run -> pip install uncompyle6
# Run -> python decompile_pyc_recursively.py -p [PATH-OF-PYC-DIR]
# ----------------------------
import argparse
import os
@likecyber
likecyber / auto_plesk_trial.php
Last active August 12, 2024 17:08
Auto Plesk Trial Renewal (using Anti-Captcha to solve ReCaptcha)
<?php
/*
Make sure to enter $anticaptcha_key before upload to server.
Upload "auto_plesk_trial.php" file to "/home/centos/auto_plesk_trial.php"
Then create Schedule Task in Root account of Plesk.
Task Type: Run a PHP script
Script path: /home/centos/auto_plesk_trial.php
Use PHP version: 7.x.x / 8.x.x
Run: Cron style * * * * *
@ismailh
ismailh / ghlicense
Last active April 28, 2024 14:57 — forked from Vsnumimmy/ghlicense
Please don't Buy from any one.
if you buy you will scammed.
if you need license please contact : [email protected]
Must Remember Dlicense is no more.
#!/usr/bin/php
<?php
@Hanan-Natan
Hanan-Natan / revil_strings_p3.py
Last active March 19, 2025 05:07 — forked from OALabs/revil_strings.py
Decrypt REvil ransomware strings with IDA Python
import idaapi, idc, idautils
class DecryptorError(Exception):
pass
def rc4crypt(key, data):
x = 0
box = list(range(256))