Skip to content

Instantly share code, notes, and snippets.

View C00kiie's full-sized avatar
🎯
Jinxing

Tyr4n7 C00kiie

🎯
Jinxing
View GitHub Profile
#!/usr/bin/env python3
import requests
pages_max_number = 10
api_url = 'https://jsonplaceholder.typicode.com/todos/{}'
f = open('/tmp/results.json', 'w')
#!/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
#!/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 September 20, 2020 10:39
Quick Server diagnostics
#!/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 February 8, 2019 08:41
circular squad
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)
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;