Sponsored Content
Full Discussion: Simple proxy tester
Top Forums Shell Programming and Scripting Simple proxy tester Post 302945002 by type8code0 on Monday 25th of May 2015 07:52:43 AM
Old 05-25-2015
Quote:
Originally Posted by RudiC
How about (untested):
Code:
while read IP
  do echo "Test proxy $IP"
     curl echoip.net --proxy "IP"
  done < proxy-list.txt

?
works like a charm

Code:
while read IP
  do echo "Test proxy $IP"
     curl echoip.net --proxy "$IP"
  done < proxy-list.txt

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ok simple question for simple knowledge...

Ok what is BSD exactly? I know its a type of open source but what is it exactly? (1 Reply)
Discussion started by: Corrail
1 Replies

2. Shell Programming and Scripting

Simple to you not simple to me pattern matchin help

hey all, im new and my first question is: say i have a word "blahblah" how do i get and replace the last letter of the word with say k, so replace the h with a k. However you cant just replace the h it has to change the LAST LETTER of the word. Cheers In advance. :b: (0 Replies)
Discussion started by: aleks001
0 Replies

3. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

4. HP-UX

begining to feel like a beta tester for emc :(

recently migrated from 5.2 to 6.1 EMC control center. proceeded to upgrade the master/host agents in our hp server env....when I encountered the following issues: # ipcs -mop IPC status from /dev/kmem as of Thu Jul 9 08:47:27 2009 T ID KEY MODE OWNER GROUP NATTCH CPID LPID Shared Memory:... (1 Reply)
Discussion started by: mr_manny
1 Replies

5. Shell Programming and Scripting

Bash Login tester Script help!

Hello, first of all, I am a pretty experience c++ programmer, but have never really bothered learning bash scripting at all, so I know conceptually things that can be done in c++, but I'm not too sure about bash. I'm trying to learn Bash, and wanted to start out with a practical application. So I... (1 Reply)
Discussion started by: RSPdev
1 Replies

6. Shell Programming and Scripting

Help making simple perl or bash script to create a simple matrix

Hello all! This is my first post and I'm very new to programming. I would like help creating a simple perl or bash script that I will be using in my work as a junior bioinformatician. Essentially, I would like to take a tab-delimted or .csv text with 3 columns and write them to a "3D" matrix: ... (16 Replies)
Discussion started by: torchij
16 Replies

7. Shell Programming and Scripting

SIMPLE HTTP PROXY SERVER CHECKER (Completed)

Simple Http Proxy Server Checker Script with curl mirror proxies-scripts/proxc at master * Anoncheg1/proxies-scripts * GitHub output in terminal HTTP, HTTP Connect (HTTPS not supported) command line: proxc filename where filename is file like 119.110.69.185:8080 119.235.16.41:8080... (4 Replies)
Discussion started by: 654321
4 Replies

8. Red Hat

Syslog.conf: looking for a simple answer on a simple question

Cheers! In /etc/syslog.conf, if an error type is not specified, is it logged anywhere (most preferable is it logged to /var/log/messages) or not? To be more precise I am interested in error and critical level messages. At default these errors are not specified in syslog.conf, and I need to... (6 Replies)
Discussion started by: dr1zzt3r
6 Replies

9. Shell Programming and Scripting

Proxy socks tester issue

I have a list of ip socks / port(eg: 192.168.0.1 80). I would like to write a bash to test automatically these addresses in a loop with firefox. The problem is that firefox process stays alive even when firefox does not work because of wrong network settings. So I want to kill the process when the... (3 Replies)
Discussion started by: arpagon
3 Replies

10. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies
findproxyfile(1)						  GridSite Manual						  findproxyfile(1)

NAME
findproxyfile - returns full path to GSI Proxy file SYNOPSIS
findproxyfile [--proxycache=PATH] [--delegation-id=ID] [--user-dn=DN] [--outsidecache] DESCRIPTION
findproxyfile returns full path to a GSI Proxy file, either in the proxy cache maintained by the GridSite G-HTTPS and delegation portType functions, or in other standard places. If a User DN is given findproxyfile uses the value of the --proxycache argument, the GRST_PROXY_PATH or the compile time default to detem- ine the location of the proxy cache directory. The directory is searched for a proxy having the given User DN and Delegation ID. (If no Delegation ID is specificed, then the default value is used.) If findproxyfile does not find a proxy or if a User DN is not given, but --outsidecache was given, then the environment variable X509_USER_PROXY and the standard location /tmp/x509up_uUID are searched as well. OPTIONS
--proxycache=PATH Give the path of the proxy cache directory explicitly, overriding the default and the GRST_PROXY_PATH environment variable if present. --delegation-id=ID The optional delegation ID is search for in the proxy cache in addition to the User DN. If absent, the default Delegation ID value is searched for. --user-dn=DN The DN of the full user certificate associated with the proxy to be searched for in the proxy cache. (This is not the DN of any proxy earlier in the chain: it is a the DN of a certificate issued by a recognised CA.) --outsidecache If a User DN is not given, or a proxy not found in the cache, then search for a proxy using X509_USER_PROXY environment variable and file name of form /tmp/x509up_uUID as well. RETURN VALUE
If a proxy is found, its full path is output on standard out. EXIT CODES
0 is returned on succcess. Non-zero otherwise. BUGS
In this version, no attempt is made to verify or validate the proxies. AUTHOR
Andrew McNab <Andrew.McNab@man.ac.uk> findproxyfile is part of GridSite: http://www.gridsite.org/ findproxyfile October 2004 findproxyfile(1)
All times are GMT -4. The time now is 09:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy