🔒 Closed IP Locator script please

Status
Not open for further replies.
marami sa github pero kung gusto mo basic lang gamit mag search ka na lang ng ip locator na website
salamat paps...di ko ma clone ung nkita ko sa kabila naghihingi ng user pw

gusto ko sana ung mkita ko mismo asan bahay ng na hunt kong IP hahaha
 
salamat paps...di ko ma clone ung nkita ko sa kabila naghihingi ng user pw

gusto ko sana ung mkita ko mismo asan bahay ng na hunt kong IP hahaha
type mo lang "what is my ip" 😉 pili ka kung anong website trip mo saka mo input yung I.P
 
Try mo to paps sa ubuntu
Save mo to as IPlocator.sh

Bash:
#!/bin/bash
if ! type curl &>/dev/null; then
    echo "This script needs curl, install it first, apt-get install curl"
    exit 1
fi
IPLIST="$1"
while read -r line; do
    IP=$(echo "$line" | grep -Eo '([0-9]{1,3}[\.]){3}[0-9]{1,3}')
    if [[ ! -z $IP ]]; then
        echo "$IP,$(curl -s https://ipapi.co/"$IP"/csv | cut -d, -f2,10 | tail -n1)" | column -s, -t
        sleep 1
    fi
done < "$IPLIST"

then chmod 700 IPlocator.sh

Usage:
Example may file ka na may list ng IP iplist.txt
Run mo sya ./IPlocator.sh iplist.txt
 
boss clone mo yung the lazy script
clone moto
You do not have permission to view the full content of this post. Log in or register now.

1656211149383.webp
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 2K
    Views
  • 4
    Participants
Last reply from:
DARKCLOUDS

Online now

Members online
1,157
Guests online
5,015
Total visitors
6,172

Forum statistics

Threads
2,287,608
Posts
29,045,594
Members
1,215,621
Latest member
nawsalinas
Back
Top