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: How to Track Who Is Sms Bombing Me . 4 Replies
1 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
1 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
4 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
5 mo ago -
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 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
6 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
7 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
9 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
9 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
9 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
9 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago -
How to: Sign the APK File with Embedded Payload (The Ultimate Guide) 10 Replies
11 mo ago
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Track Wi-Fi Devices & Connect to Them Using Probequest
-
Hack Like a Pro: Networking Basics for the Aspiring Hacker, Part 2 (TCP/IP)
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
Become an Elite Hacker Part 4: Hacking a Website. [Part 1]
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Buy the Best Wireless Network Adapter for Wi-Fi Hacking in 2019
-
How To: Crack SSH Private Key Passwords with John the Ripper
-
How To: Extract Bitcoin Wallet Addresses & Balances from Websites with SpiderFoot CLI
-
How To: Unlock Facial Detection & Recognition on the Inexpensive ESP32-Based Wi-Fi Spy Camera
-
Hacking Pranks: How to Flip Photos, Change Images & Inject Messages into Friends' Browsers on Your Wi-Fi Network
-
How To: Fix Bidirectional Copy/Paste Issues for Kali Linux Running in VirtualBox
-
How To: Crack Wi-Fi Passwords—For Beginners!
-
How To: Get Root with Metasploit's Local Exploit Suggester
-
How To: Run USB Rubber Ducky Scripts on a Super Inexpensive Digispark Board
-
How To: Build an Off-Grid Wi-Fi Voice Communication System with Android & Raspberry Pi
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
How To: Pick an Antenna for Wi-Fi Hacking
-
How To: Brute-Force FTP Credentials & Get Server Access
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