How to Track Location with JavaScript & GPS | Phishing Tutorial

Play video
This article is a summary of a YouTube video "Track Phone & Computers on The Internet 🌎" by zSecurity
TLDR The video teaches how to track a target's location using JavaScript code and GPS coordinates, and how to store the information in a text file for use in phishing attacks.

Key insights

  • 🔍
    The video claims to show how to find the exact location of a phone or computer, which raises concerns about privacy and security.
  • 💻
    Controversial: "The main goal is to give the target a url to a website and when that website loads they'll get something that they're interested in for example a normal website like z security in here or show them something funny like a meme it all depends on your target and the information you gathered about them."
  • 🔍
    Hackers can use HTML files to secretly obtain GPS coordinates from devices, highlighting the need for increased cybersecurity measures.
  • 🔍
    Tracking someone's location through the internet is as simple as sending them a link and having them load it, which raises concerns about privacy and security.
  • 🔍
    Tracking user information on the internet is as simple as accessing the user agent information sent by browsers when loading a website.
  • 🤯
    The possibilities of tracking and hacking are endless, and can be achieved simply by breaking down the problem and looking up how to implement it step by step.

Q&A

  • How can I track a target's location using JavaScript code?

    — You can track a target's location using JavaScript code by creating an HTML file called locate.html that displays a funny meme and sends the user's location when accessed.

  • How can I store the location information in a text file?

    — You can store the location information in a text file by sending a GET request to a page called store.php, which will write the latitude and longitude values in a text file called location.txt.

  • How can I make the HTML file accessible to anyone on the internet?

    — You can make the HTML file accessible to anyone on the internet by uploading it to a web hosting service.

  • Can I approximate a target's location using their IP address?

    — Yes, even if the target denies GPS access, you can approximate their location using their IP address and then use a GPS coordinate converter to get the exact location.

  • How can I gather information about the target's device and operating system?

    — You can gather information about the target's device and operating system by adding the user agent information to the GET request in store.php, which will store it in the location.txt file.

Timestamped Summary

  • 📱
    00:00
    Learn how to locate a phone or computer, get $100 free credit from Lenode for cloud hosting, and create a webpage that sends user location with a funny meme.
  • 📍
    05:22
    Learn how to track a target's location using JavaScript code and GPS coordinates.
  • 📡
    11:25
    The code sends a get request to store latitude and longitude values in a text file using a created object and store.php file.
  • 👨‍💻
    14:01
    Learn how to create and write to a file in PHP by manually creating a function and concatenating text with a dot to store latitude and longitude values sent as a GET request in a text file.
  • 📍
    19:28
    Obtain a target's GPS coordinates by requesting their location on a web page or using their IP address to approximate their location.
  • 🔍
    22:57
    Use IP lookup and GPS coordinate converter to approximate and get the exact location of a target, and obtain user agent information through navigator.useragent in Javascript to store it in location.txt.
  • 🔍
    27:35
    Adding beef hook code to locate.html file allows for location and user agent tracking, making phishing links more believable and easier to target victims through spoofed emails or SMS.
  • 📰
    30:13
    The US Capitol was breached by Trump supporters, resulting in violence and chaos, leading to the certification of Joe Biden as the next President of the United States.
Play video
This article is a summary of a YouTube video "Track Phone & Computers on The Internet 🌎" by zSecurity
4.9 (46 votes)
Report the article Report the article
Thanks for feedback Thank you for the feedback

We’ve got the additional info