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 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 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 { useState } from 'react' | |
| //import Card from "./Card.jsx" | |
| //import reactLogo from './assets/react.svg' | |
| //import viteLogo from '/vite.svg' | |
| import './App.css' | |
| function App() { | |
| const [count, setCount] = useState(6677) | |
| // The below function create and return random hex | |
| const setBg = () => { |
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
| file="ip.txt" | |
| i=1 | |
| #reading from file each lines | |
| while read line; do | |
| #ft=".docx" | |
| nm=${line//./_} | |
| mkdir $nm; |
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 | |
| 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 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
| #include<stdio.h> | |
| #include<stdlib.h> | |
| int main() | |
| { | |
| //variables assigned | |
| char *place; | |
| char *systemcmd; | |
| place=(char *)malloc(10); |
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 | |
| 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