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: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
6 days ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
2 wks ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 2 Replies
1 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
1 mo 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
3 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
3 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
4 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
5 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
8 mo ago
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Hack Apache Tomcat via Malicious WAR File Upload
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: DDos a Website Like a Pro (Windows Only)
-
How To: Dox Anyone
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Extract Bitcoin Wallet Addresses & Balances from Websites with SpiderFoot CLI
-
How To: Hack Coin-Operated Laudromat Machines for Free Wash & Dry Cycles
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
Hack Like a Pro: How to Find Directories in Websites Using DirBuster
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How To: Write an XSS Cookie Stealer in JavaScript to Steal Passwords
-
How To: Scan Websites for Interesting Directories & Files with Gobuster
-
How To: Exploit Shellshock on a Web Server Using Metasploit
-
How To: Set Up a Wi-Fi Spy Camera with an ESP32-CAM
-
How To: Perform Advanced Man-in-the-Middle Attacks with Xerosploit
-
How to Hack Bluetooth, Part 1: Terms, Technologies, & Security
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