Skip to content

Commit

Permalink
Update function ip (#110)
Browse files Browse the repository at this point in the history
* Update function ip

ipinfo has been giving issues so updated the function to curl https://whatismyip.akamai.com

* Switch provider to ipify

Deciding on ipify as an ip provider. `ipify` is open source, has a high rate of volume, and doesn't block tor addresses

* Version bump

* Add risky banner to ip check

---------

Co-authored-by: Und3rf10w <[email protected]>
  • Loading branch information
rainbow-hue and Und3rf10w authored Dec 26, 2024
1 parent 0e0cb9c commit 72282d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kali-anonsurf-deb-src/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: kali-anonsurf
Version: 1.2.4.0
Version: 1.2.5.0
Architecture: all
Maintainer: Und3rf10w
Installed-Size: 64
Expand Down
4 changes: 2 additions & 2 deletions kali-anonsurf-deb-src/etc/init.d/anonsurf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function ip {

echo -e "\nMy ip is:\n"
sleep 1
curl "https://ipinfo.io" # Had a few issues with FrozenBox giving me the wrong IP address
curl "https://api.ipify.org" # Decent provider serving 30b requests/month, and doesn't block TOR
echo -e "\n\n----------------------------------------------------------------------"
}

Expand Down Expand Up @@ -311,7 +311,7 @@ Parrot AnonSurf Module
$RED restart$BLUE -$GREEN Combines \"stop\" and \"start\" options
$RED change$BLUE -$GREEN Changes identity restarting TOR
$RED status$BLUE -$GREEN Check if AnonSurf is working properly
$RED myip$BLUE -$GREEN Show your current IP address
$RED myip$BLUE -$GREEN Show your current IP address $RED(RISKY)$RESETCOLOR
----[ I2P related features ]----
$RED starti2p$BLUE -$GREEN Start i2p services
$RED stopi2p$BLUE -$GREEN Stop i2p services
Expand Down

0 comments on commit 72282d8

Please sign in to comment.