Skip to content

Instantly share code, notes, and snippets.

View ertugrulturan's full-sized avatar
🌐

Ertuğrul TURAN ertugrulturan

🌐
View GitHub Profile
@ertugrulturan
ertugrulturan / install_ts3-server.sh
Created March 13, 2020 21:59
Automagically installs the Linux TeamSpeak 3 Server
#!/bin/bash
# Name: install_ts3-server.sh
# Version: 1.3
# Created On: 3/5/2015
# Updated On: 11/17/2019
# Created By: rcguy
# Description: Automagically installs the Linux TeamSpeak 3 Server
# Tested on: Debian 10 / x64 / VPS / 2 Cores / 2GB RAM / 20 GB SSD
# ==> VARIABLES <==
#!/usr/bin/bash
bash /usr/share/ts3proxy/ts3proxy
@ertugrulturan
ertugrulturan / net-speed.sh
Created March 21, 2020 23:50
speedtest.py
#!/usr/bin/bash
curl -s https://pastebin.obir.ninja/net-speed.py | python -
@ertugrulturan
ertugrulturan / 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"];
@ertugrulturan
ertugrulturan / 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) :
@ertugrulturan
ertugrulturan / 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")
@ertugrulturan
ertugrulturan / 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 !";
}
@ertugrulturan
ertugrulturan / 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"""
@ertugrulturan
ertugrulturan / 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
@ertugrulturan
ertugrulturan / Challenge.c
Created December 20, 2020 04:42
Nginx JS Challenge Module
/*
v1.24
Copyright (C) 2011-2018 Eldar Zaitov (eldar@kyprizel.net).
All rights reserved.
This module is licenced under the terms of BSD license.
*/
#include <ngx_config.h>
#include <ngx_core.h>