Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
proxy-checkerjs
Advanced tools
It's simple Proxy Checker, get proxy status, anonymous level, type, time, country
It's simple Proxy Checker, get proxy status, anonymous level, type, time, country
npm i proxy-checkerjs
const proxy_checker = require('proxy-checkerjs')
await proxy_checker.getMyIP() //Important
One proxy per line and in this format: address: port
await proxy_checker.setProxiesListFromFile('./proxies.txt')
await proxy_checker.checkProxies()
One proxy per line and in this format: address: port
const proxies = [
"103.4.112.18:80",
"103.4.164.205:8080",
"103.43.42.85:30477",
"103.43.7.93:30004",
]
await proxy_checker.setProxiesListFromArray(proxies)
await proxy_checker.checkProxies()
Format: address: port
await proxy_checker.checkOneProxy('103.4.112.18:80')
//return
//{
// result:true or false,
// anonymous: anonymouslevel or '',
// country:country or ''
//}
You can use options for checkProxies (), it's a object:
await proxy_checker.checkProxies({
goodProxiesPath: './good.txt', //Create file on stream, add one per line functional proxies (address:port)
badProxiesPath: './bad.txt', //Create file on stream, add one per line bad proxies (address:port)
showAnonymous:true, //Only for goodProxiesPath, add anonymous value (address:port:anonymous)
showCountry:true, //Only for goodProxiesPath, add country value (address:port:country)
output: true, //Show in console, it's simple console.log() with color (dead proxy = red / good proxy = green) and proxy information
deleteFileIfExist:true //Only if goodProxiesPath and/or badProxiesPath is used,
})
var main = async function() {
await proxy_checker.getMyIP()
await proxy_checker.setProxiesListFromFile('./test.txt')
await proxy_checker.checkProxies({
goodProxiesPath: './good.txt',
badProxiesPath: './bad.txt',
showAnonymous:true,
showCountry:true
})
}
main()
FAQs
It's simple Proxy Checker, get proxy status, anonymous level, type, time, country
The npm package proxy-checkerjs receives a total of 1 weekly downloads. As such, proxy-checkerjs popularity was classified as not popular.
We found that proxy-checkerjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.