This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import requests | |
pages_max_number = 10 | |
api_url = 'https://jsonplaceholder.typicode.com/todos/{}' | |
f = open('/tmp/results.json', 'w') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |