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
import socket | |
import threading | |
import sys | |
# ================= This is Server =============== | |
class Server: | |
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
connections = [] | |
def __init__(self): | |
self.sock.bind(('0.0.0.0',10000)) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Best Hover Button</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> |
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
file="ip.txt" | |
i=1 | |
#reading from file each lines | |
while read line; do | |
#ft=".docx" | |
nm=${line//./_} | |
mkdir $nm; |
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 | |
file="ip.txt" | |
i=1 | |
while read line ; do | |
echo "[+] Scan Started $line ... "; | |
nmap -sS -p- -v -A -T3 -sC -sU -O -oN /home/kali/Desktop/nmap_output/$line $line -oA $line | |
echo "Scan Finished $line" | |
i=$((i+1)); |
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
#include<stdio.h> | |
#include<stdlib.h> | |
int main() | |
{ | |
//variables assigned | |
char *place; | |
char *systemcmd; | |
place=(char *)malloc(10); |
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 | |
if [ "$1" == "" ] | |
then | |
echo "Usage: ./ipfinder.sh [network IP]" | |
echo "Example: ./ipfinder.sh 192.168.0" | |
else | |
for ip in `seq 1 254`; do | |
ping -c 1 $1.$ip | grep "64 byte" | cut -d " " -f 4 | sed 's/.$//' & | |
done |
OlderNewer