View ConsoleApp2.cs
This file contains 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; |
View file.py
This file contains 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) |
View diagnostics_non_verbose.sh
This file contains 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 |
View diagnostics.sh
This file contains 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 |
View mutli-domain-multi-port-scan.sh
This file contains 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 |
View api_pagination.py
This file contains 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') |