Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Working on ROP-ISH stuff

Tyr4n7 C00kiie

🎯
Working on ROP-ISH stuff
View GitHub Profile
View api_pagination.py
#!/usr/bin/env python3
import requests
pages_max_number = 10
api_url = 'https://jsonplaceholder.typicode.com/todos/{}'
f = open('/tmp/results.json', 'w')
View mutli-domain-multi-port-scan.sh
#!/bin/bash
#
# Author: Tyr4n7
# This is a simple tool faciliate simple post-recon after gathering information about multiple domains,
# it simply works out the port scanning on port 80/443/8080/22/21
if [ $# -eq 0 ]
then
echo "$0 domain.txt output.txt";exit
fi
View diagnostics_non_verbose.sh
#!/bin/bash
# script: sas3/sas4 quick diagnoistics
## Author: Tyr4n7
###### To Valahala!
separator_bar="----------------------------------------------------------------------------------------------";
## check max_users ##
users_count=$(mysql -u sas -psas123 -s -N sas4 -e "select count(*) as c from sas_users" 2>/dev/null); # default passwords for sas4
@C00kiie
C00kiie / diagnostics.sh
Last active Sep 20, 2020
Quick Server diagnostics
View diagnostics.sh
#!/bin/bash
# script: sas3/sas4 quick diagnoistics
## Author: Tyr4n7
###### To Valahala!
separator_bar="----------------------------------------------------------------------------------------------";
## check max_users ##
users_count=$(mysql -u sas -psas123 -s -N sas4 -e "select count(*) as c from sas_users" 2>/dev/null); # default passwords for sas4
@C00kiie
C00kiie / file.py
Last active Feb 8, 2019
circular squad
View file.py
def winner(n):
"""return the number of person who wins"""
persons = list(range(1, n + 1))
while len(persons) > 1:
for index, _ in enumerate(persons):
del persons[(index + 1) % len(persons)]
return persons[0]
m1 = winner(2468)
m2 = winner(2049)
View ConsoleApp2.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using Newtonsoft;
using System.Collections;
using Newtonsoft.Json;