Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Formatting proxies to user:password@ip:port

engageub edited this page Feb 2, 2026 · 6 revisions

The following are the accepted formats for the Internet Income script ✅
For any other format, you will need to convert them to one of these using the commands below 👇

protocol://user:password@ip:port
protocol://ip:port

Adding prefix to each line if protocol does not exist 🔧

If your provider did not provide protocol at the beginning of each proxy after downloading, use the following to add it.

  • To add http:// prefix before each line run the following command
sed -i 's/^/http:\/\//' proxies.txt
  • To add socks5:// prefix before each line run the following command
sed -i 's/^/socks5:\/\//' proxies.txt

Run the following command to convert protocol://user:password:ip:port 🚀

sed -i -E 's|([^:/]+)://([^:]+):([^:]+):([^:]+):([^:/]+)|1円://2円:3円@4円:5円|g' proxies.txt

Run the following command to convert protocol://ip:port:user:password 🚀

sed -i -E 's|([^:/]+)://([^:]+):([^:]+):([^:]+):([^:/]+)|1円://4円:5円@2円:3円|g' proxies.txt

Run the following command to convert protocol://ip:port@user:password 🚀

sed -i -E 's|([^:/]+)://([^:@]+):([^@]+)@([^:/]+):([^/]+)|1円://4円:5円@2円:3円|g' proxies.txt

After converting the proxies, please open proxies.txt file and make sure the format has been changed to protocol://user:password@ip:port 🔍✅

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /