Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions noIPv6/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
**No Ip V 6 - ' cause sometimes you just need the good and old IP version 4'**

NoIpv6 is a script to cancel the use in the network the IP version 6, the change is not permanent.

**How to install**

1- first you need to copy the script to /bin directory

2- give executable rights using sudo chmod +x noIp6.sh

3- restart the terminal or use source.

**How to use it**

1- open terminal ( ctrl + t)

2- sudo noIpv6.sh

3- put your admin password

4- enjoy

14 changes: 14 additions & 0 deletions noIPv6/noipv6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

echo "---------------------------------------------------------------------------------------------------"
echo " "
echo " NO Ipv 6 "
echo " "
echo "----------------------------------------------------------------------------------------------------"

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1

echo " No Ipv 6 - sucess "

13 changes: 13 additions & 0 deletions sswhois/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
**sswhois - the super tool to help you monitor all yours ipv4 conection**

Join the power of ss plus whois so you could view information about your ipv4 conection

sswhois.sh create a whois-report.txt file and also show in the screen the results

**Usage**

Execute the file sswhois.sh

**Errors**

Sometimes you need to give permission to sswhois.sh , just use chmod +x sswhois.sh and make sswhois.sh an executable file
15 changes: 15 additions & 0 deletions sswhois/sswhois.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# https://linuxhint.com/remove_characters_string_bash/
# https://github.com/emugel/grepip
AR=(`ss -anpt |grep ESTAB | awk '{ print $5 }' | cut -d: -f1 | sort -u`)

# AR=(`ss -anpt |grep ESTAB | awk '{ print $5 }' | sort -u`) # td -d [ | tr -d ] => resolve os braquetes mas falta : e porta

for i in ${AR[@]}
do
echo $i
`whois $i >> whois-results.txt`
whois $i
done