Temporary Advertisements:
Ad
Ad
Ad
Im bored .. some OPSEC tips
by Azad23 - Friday December 15, 2023 at 10:34 PM
#1
> Get rid of user-agent signature from curl - wget - nmap 

into your `~/.bashrc` or `~/.zshrc` or whatever  slap that in :

export AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/87.0.4280.88 Safari/537.36"[/b]
[b]alias curl="curl -A '$AGENT'"[/b]
[b]alias wget="wget -U '$AGENT'"[/b]
[b]alias nmap="nmap --script-args="\"http.useragent='$AGENT'\"[/b]
[b]


(u can use whatever user-agent u want ) 



> little script  to block out your connection  if your vpn fails this is for openvpn , change in base your needs  :

#!/bin/bash[/b]
[b]echo 'Disabling network interfaces...'[/b]
[b]systemctl stop network-manager[/b]
[b]killall -9 dhclient[/b]
[b]for i in $(ifconfig | grep -iEo '^[a-z0-9]+:' | grep -v '^lo:$' | cut -d ':' -f 1)[/b]
[b]do[/b]
[b]ifconfig $i 0.0.0.0 down[/b]
[b]done


openvpn --script-security 2 --down vpn-down.sh --config <OPEN VPN FILE>


(: some basic stuff but can be handy for who do not know

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Leeching | https://breached.hn/Forum-Ban-Appeals if you feel this is incorrect.
Reply
#2
(Dec 15, 2023, 10:34 PM)Azad23 Wrote: > Get rid of user-agent signature from curl - wget - nmap 

into your `~/.bashrc` or `~/.zshrc` or whatever  slap that in :

export AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,like Gecko) Chrome/87.0.4280.88 Safari/537.36"[/b]
[b]alias curl="curl -A '$AGENT'"[/b]
[b]alias wget="wget -U '$AGENT'"[/b]
[b]alias nmap="nmap --script-args="\"http.useragent='$AGENT'\"[/b]
[b]


(u can use whatever user-agent u want ) 

Nice.

You can even create a script to randomly change the user-agent from a list.

Something like this:

#!/bin/bash

# A file with different user agents:
AGENTS_FILE="agents.txt"

AGENT=$(shuf -n 1 $AGENTS_FILE)

export AGENT

alias curl="curl -A '$AGENT'"
alias wget="wget -U '$AGENT'"
alias nmap="nmap --script-args=\"http.useragent='$AGENT'\""
Reply
#3
Many VPN providers have a kill switch built in these days, but still cool to see it done manually with your own script.
Reply
#4
Remove the markup in the code tag nigger

This forum account is currently banned. Ban Length: Permanent (N/A Remaining)
Ban Reason: Contact Administration.
Reply
#5
[h1][b][i]very nice thank you [/i][/b][/h1]
Reply
#6
Thank you for the helpful information!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Instagram Spyware Level: EXTREMELY HIGH 1926 283 26,511 7 hours ago
Last Post: Saintlol
  Is there any free sample azanfefefefegrehreh 0 84 Yesterday, 05:11 PM
Last Post: azanfefefefegrehreh
  How do I actually get credits. colourfuls 16 1,753 Oct 16, 2026, 03:48 PM
Last Post: nolookshot
  THE MATRIX REVEALED - How the global system really works A-is-not-equal-a 29 1,822 Oct 16, 2026, 03:13 AM
Last Post: slowdown
  hello purple_h4ze20 0 136 Oct 15, 2026, 09:40 PM
Last Post: purple_h4ze20

Forum Jump:


 Users browsing this forum: