How to write script that will be clicking on links every 10 sec?
And how to write script that will be restart any service?
Forum Thread: How to Write Script on Bash.
- Hot
- Active
-
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
1 day ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
2 wks ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
3 wks ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
2 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
2 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
2 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
3 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
3 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
3 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
3 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
4 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
4 mo ago -
Forum Thread: How to Run and Install Kali Linux on a Chromebook 18 Replies
5 mo ago -
Forum Thread: How to Find Admin Panel Page of a Website? 13 Replies
6 mo ago -
Forum Thread: can i run kali lenux in windows 10 without reboting my computer 4 Replies
6 mo ago -
Forum Thread: How to Hack School Website 11 Replies
6 mo ago -
Forum Thread: Make a Phishing Page for Harvesting Credentials Yourself 8 Replies
6 mo ago -
Forum Thread: Creating an Completely Undetectable Executable in Under 15 Minutes! 38 Replies
7 mo ago -
Forum Thread: Hacking with Ip Only Part [1] { by : Mohamed Ahmed } 5 Replies
8 mo ago
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Check if Your Wireless Network Adapter Supports Monitor Mode & Packet Injection
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Use Command Injection to Pop a Reverse Shell on a Web Server
-
How To: Dox Anyone
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Create Custom Wordlists for Password Cracking Using the Mentalist
-
How To: Easily Detect CVEs with Nmap Scripts
-
How To: Use Photon Scanner to Scrape Web OSINT Data
-
News: What the Heck Was Stuxnet!?
-
How To: Make Your Own Bad USB
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Crack Shadow Hashes After Getting Root on a Linux System
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Enumerate SMB with Enum4linux & Smbclient
-
BT Recon: How to Snoop on Bluetooth Devices Using Kali Linux
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
Hacking Windows 10: How to Dump NTLM Hashes & Crack Windows Passwords
8 Responses
/click here
, this one is also well written.
David:
That one is batch scripting not BASH scripting
Oh, my bad..
@MAXIM, One thing i have learnt from this tech world is no one does the job for you, You 've got to do it yourself. If you have problems, then you share. I might not be able to help you because am also a learner and a complete noob beginner but there are others to help you if you make an effort. No offense.
Hello, sir.
I made a script that was similar a while back. It isn't very hard to understand. If you are running your bash script on your victim's terminal, than it will be very easy to code.
It depends on what operating system the victim is using. Since I am using a mac, I actually googled "how to open links from mac terminal". And I came up with the result instantly.
open 'http://www.google.com/'
For Windows, the command is
start 'http://www.google.com'
Therefore your script should look something like this (If your victim is using windows).
#!/bin/bash
while [ 1 = 1 ]; #loop running endlessly
do
start 'http://www.google.com/' #open google.com
sleep 10 #sleep for 10 seconds
done
Hope this helps! - Cameron.
Also, please do check out the tutorials on scripting. You will be lost and not understandable as a hacker if you can't script.
I can't do the exit from programm.
I tried to write:
PID='pidof iceweasel'
kill $PID
but shell gave me an error. It must be pid or id process after 'kill'.
How to do that?
Type;
>ps aux
This will list all processes and their PID. Get the PID of the process you want to killl and type;
>kill -9 PID
Share Your Thoughts