• Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training
No Result
View All Result
Sick Codes - Security Research, Hardware & Software Hacking, Consulting, Linux, IoT, Cloud, Embedded, Arch, Tweaks & Tips!
No Result
View All Result
Home Tutorials

How To Find All IPs for VPN Service (Private Internet Access)

by Sick Codes
October 9, 2016 - Updated on June 24, 2020
in Tutorials
0
Private internet access IP list

I wanted to use every Private Internet Access (PIA) IPs to run a script using each of their full list of IP addresses once.
For other companies, copy and paste a list of their whole network addresses list. For PIA, they

First, save a copy of all their servers names. For PIA I had to expand each section and then copy and paste all of the html into a text document or spreadsheet.

Private internet access IP list
When pasting into a spreadsheet, make sure to right click and select paste special and then unformatted text.

Private internet access server list

We want only the hostnames, so copy the column containing all the URLs and use the remove lines not containing tool to remove lines not containing:

.privateinternetaccess.com

Remove lines not containing privateinternetaccess.com

Save this list somewhere (doc/txt files).

Now use the prefix & suffix lines tool to prefix each line with

host

and suffix each line with

>> ip-list.txt

Bulk find ip addresses of website

This will add each of the results of ‘host xxx.com’ to a file called ip-list. We use >> instead of > as a double right arrow adds the output to the file whereas a single right arrow will overwrite it.

Paste everything into a terminal and when it’s finished you should have a file with all of the IP addresses.

To clean the file up, find and replace ‘has address ‘ with a tab.

Replace has address with a tab

Paste this into a spreadsheet and you will have a column with all of the IP addresses.

 

Next Post

Find all files matching pattern recursively linux (Debian/CentOS/Ubuntu)

"Securely" generate Custom or Vanity .onion on VPS (Debian/Ubuntu/CentOS)

CentOS 7 .onion Tor Website Auto-install (2016)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result
  • Home
  • Releases
  • Submit Vuln
  • Press
  • About
  • PGP
  • Contact
    • Contact
    • Submit Vuln
    • VDP
  • Tutorials
    • All Posts
    • Photoshop on Linux
    • macOS on Linux
  • Supporters
  • Projects
  • Training

© 2017-2021 Sick.Codes

@sickcodes

@sickcodes

@sickcodes

Discord Server

sickcodes.slack.com

t.me/sickcodeschat

./contact_form