wget -–http-password=isa -–http-user=isa -np -nc -w 3 -e robots=off -rbc -e http_proxy=202.46.129.10:8080 --proxy-user=princeofun@chem.its.ac.id --proxy-password=secret --limit-rate=1000 http://202.46.129.43/~yono/data/asus-titipan/ohyes/?url_addr=http%3A%2F%2Fwww.dreamtemplate.com%2Fproduct%2Fimages%2F111%2F&http_submit=DownloadHTTP&url_user=&url_pass=&ftp_url_addr=&ftp_url_user=&ftp_url_pass=
with tsocks
Add this to /etc/tsocks.conf:
server = 127.0.0.1
server_type = 5
server_port = 9999
in a separate terminal run:
ssh -f -N -L local_dynamic_port:localhost:source_port username@ip_remote_host
remove any proxy cmds from ~/.wgetrc
run 'tsocks wget REMOTEURL'
Tuesday, August 3, 2010
Subscribe to:
Post Comments (Atom)
/usr/bin/tsocks wget -c http://www63.indowebster.com/** -- async
ReplyDeletehttp://lampbear.wordpress.com/2010/04/05/use-wget-to-download-from-hotfile-automated/
ReplyDelete#download the file
ReplyDeleteglobus@earth:~$ tsocks wget http://radio.mitra.net.id:8110/ --limit-rate=8k -O try.mp3 | mplayer -cache 8192 try.mp3
--2010-08-22 22:42:56-- http://radio.mitra.net.id:8110/
Resolving radio.mitra.net.id... 202.43.248.148
Connecting to radio.mitra.net.id|202.43.248.148|:8110... MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing try.mp3.
Cache fill: 0.00% (0 bytes)
Exiting... (End of file)
connected.
HTTP request sent, awaiting response... 200 No headers, assuming HTTP/0.9
Length: unspecified
Saving to: `try.mp3'
#watching the size
globus@earth:~$ watch --differences -n1 ls -l try.mp3
open new terminal
globus@earth:~$ mplayer try.mp3
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing try.mp3.
Audio only file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 861 bits!
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [pulse] 22050Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
mpg123: Can't rewind stream by 754 bits!
mpg123: Can't rewind stream by 361 bits!
A: 421.9 (07:01.9) of 132.0 (02:12.0) 0.2%
This comment has been removed by the author.
ReplyDeleteauser@abox:~$ ssh -f -N -g -D 33333 auser@ip_remote
ReplyDeletebind: Address already in use
auser@abox:~$ ssh -f -N -g -D 22222 auser@ip_remote
bind: Address already in use
auser@abox:~$ ssh -f -N -D 11111 auser@ip_remote
auser@abox:~$ nmap -p 22222,33333,11111 localhost
Starting Nmap 5.00 ( http://nmap.org ) at XXXX XX:XX XXXX
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
11111/tcp open unknown
22222/tcp open unknown
33333/tcp open unknown