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
import socket | |
import subprocess | |
import sys | |
from datetime import datetime | |
subprocess.call("", shell=True) | |
rmip = input("ENTER REMOTE HOST IP: ") | |
ps1 = int(input("ENTER START PORT NUMBER TO SCAN: ")) | |
ps2 = int(input("ENTER LAST PORT NUMBER TO SCAN: ")) | |
print("*"*40) |
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
""" | |
Program: Execute Ping Seep (ICMP Requests) and output results to a text file. | |
Interpreter Python 2.7 | Linux | |
""" | |
import os | |
import platform | |
from datetime import datetime | |
net = raw_input("Enter the IP address") |
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 bash | |
# SECTION 1 | Set Host IPv4 | |
# localhost: '127.0.0.1' # ADD USER TO LOCAL HOST | |
# remotehost <reopteIPv4> # ADD USER TO REMOTE HOST | |
# SECTION 2 | Generate Login Details | |
set -e # STOP IF ANY ERROR | |
if [ $(id -u) -eq 0 ]; then # VERIFY ROOT THEN IF ROOT | |
read -p "Enter username : " username # ENTER USER NAME |
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 bash | |
1. How to find the A record of а domain. | |
Command line: | |
$ nslookup example.com | |
2. How to check the NS records of a domain. | |
Command line: | |
$nslookup -type=ns example.com |
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
import itertools | |
(K, N) = map(int, raw_input().split()) | |
L = list() | |
for i in range(K): | |
l = map(int, raw_input().split()) | |
n = l[0] | |
L.append(l[1:]) |
OlderNewer