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
2 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 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
6 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
7 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 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
10 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 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: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Scan for Vulnerabilities on Any Website Using Nikto
-
How To: Dox Anyone
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Find Vulnerable Webcams Across the Globe Using Shodan
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
How To: Build a Beginner Hacking Kit with the Raspberry Pi 3 Model B+
-
How To: Scan, Fake & Attack Wi-Fi Networks with the ESP8266-Based WiFi Deauther
-
How To: Use SQL Injection to Run OS Commands & Get a Shell
-
Steganography: How to Hide Secret Data Inside an Image or Audio File in Seconds
-
How To: Exploit EternalBlue on Windows Server with Metasploit
-
How To: Find Passwords in Exposed Log Files with Google Dorks
-
How To: Gain SSH Access to Servers by Brute-Forcing Credentials
-
How To: Use Hash-Identifier to Determine Hash Types for Password Cracking
-
How To: Hack Networks & Devices Right from Your Wrist with the Wi-Fi Deauther Watch
-
Tutorial: DNS Spoofing
-
The Hacks of Mr. Robot: How to Spy on Anyone's Smartphone Activity
-
How To: Manually Exploit EternalBlue on Windows Server Using MS17-010 Python Exploit
-
How To: Tactical Nmap for Beginner Network Reconnaissance
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