How to know the type of proxy?

There is a list of proxy in the database, the task is simple - add a new column to your DB and register in the empty field type of proxy, but how can we know this is type of proxy?

Maybe there is a Free API any limits where you can cecati type of proxy?

Or tell me php can be through the curl once it is possible to write a checker for checking the HTTP/SOCKS ?
April 3rd 20 at 17:30
2 answers
April 3rd 20 at 17:32
@Adalberto.Leffler, in cURL you need to specify the type of proxy: CURLOPT_PROXYTYPE, I need to know what type certain propxy. - Ernest_Watsi commented on April 3rd 20 at 17:35
April 3rd 20 at 17:34
https://github.com/z3APA3A/3scan

>3scan 127.0.0.1 3130,3131 45pc detectportal.firefox.com / 1000 success
127.0.0.1:3130/HTTP
127.0.0.1:3130/CONNECT 
127.0.0.1:3131/SOCKS4
127.0.0.1:3131/SOCKS5

Find more questions by tags PHPParsingProxy