67 reputation
212
bio website wondershell.wordpress.com
location
age
visits member for 2 years, 3 months
seen Oct 9 at 13:24

last | head


May
9
comment Grub modify menu screen [ advanced ]
@ChrisR. Thank you very much for your answer. It looks very promissing. I will try that in a VM (as you suggested) during the weekend and if everything will go as expected I will mark your answer as accepted on Monday. Thank you once again.
May
4
comment Grub modify menu screen [ advanced ]
@slm Thanks. That is a lot of collected knowledge on the subject. Sadly i haven't found any information how to remove mentioned text. Grub customizer is helpful but it can do only what i have already done manually.
Jan
9
comment Trailing space when generating md5
Instead of using awk like in the answer below i would use tr like this: echo -n "string" | md5sum | cut -d " " -f 1 | tr -d "\n" . This will clear the new line character from the output.
Oct
2
comment SSH jumping over socks(4/5) proxy chain. Host -> socks proxy -> socks proxy -> destination
I added the debug in my question. I feel like the fault is in the line 2012/10/02 20:52:21 socat[17091] E socks: ident refused by client which might be caused by my username being passed in the line 2012/10/02 20:52:10 socat[17091] I sending socks4 request VN=4 DC=1 DSTPORT=1080 DSTIP=89.223.109.20 USERID=mnmnc
Oct
2
comment SSH jumping over socks(4/5) proxy chain. Host -> socks proxy -> socks proxy -> destination
the xxx.dyndns.org is my computer - Machine A but its external IP address and listening on port 21. I'm sure it works fine as i used it with ssh -o ProxyCommand='socat - socks:218.62.97.105:xxx.dyndns.org:21,socksport=1080' and it gave me the sshd prompt.
Oct
2
comment SSH jumping over socks(4/5) proxy chain. Host -> socks proxy -> socks proxy -> destination
Firstly I used the command socat tcp-listen:22222,reuseaddr,fork,bind=127.1 socks:218.62.97.105:193.107.144.23:80,socksport=1080 and i checked that both those proxies are working with the command you have given me in my previous question. However when i supply the second command : ssh -o ProxyCommand='socat - socks:127.1:%h:%p,socksport=22222' -p 21 xxx.dyndns.org nothing is really happening for a while and then the error message: EOF during read of socks reply, peer might not be a socks4 server ssh_exchange_identification: Connection closed by remote host
Oct
2
comment SSH over Socks proxy without username or password
Ok. tsocks seems to be exactly what i need. prize in 2 days as promissed. Thank you very much. :)
Oct
2
comment SSH over Socks proxy without username or password
Ok. Maybe i misguided you by suggesting Firefox. Lets say CURL - and i want to connect via local proxy so i can automate in bash script the tunnel creation.
Oct
2
comment SSH over Socks proxy without username or password
I'm trying to use a server in the middle as a jump proxy to connect to third machine. the B machine is from the list - correct. I would also like to create a tunnel to socks proxy server which would allow me to setup localhost:8080 in firefox as a proxy and allow me to browse the net from the Machine B with Machine B IP address.
Oct
2
comment SSH over Socks proxy without username or password
YEY ! It works ssh -o ProxyCommand='socat - socks:218.62.97.105:HOST_B:21,socksport=1080' C. Thats really great. Thank you. Would you be able to suggest a command to create a tunnel with this socks proxy that i could setup in firefox as a local web proxy? Im not sure if this can work : Firefox + local port tunnel -> socks tunnel Machine B -> HTTP Server. If it is possible and you know how to do this, please share and i promise you +100 :) for that. If it is impossible i will still give +50 for the answer above.
Aug
23
comment Why Bash unable to find command even if $PATH is specified properly?
When you are not logged (you do not have a remote session) but only sending a command remotely you dont have access to environment variables the same way because your .bashrc / .profile files are not executed. This is the reason as they are responsible for setting variables for current session.
Jul
31
comment How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
Are you using multiple VM's concurrently ? All with Bridged network? Please see my updated answer.
Jul
31
comment How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
If you have used bridged than you got Internet Access on your Virtual Machine but not on the Host Machine. Use arp command to see if you see the IP address of your router or your ISP ip address.
Jul
31
comment How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
Go in here for NAT configuration in VM Ware: vmware.com/support/ws55/doc/ws_net_configurations_changing.html
Jul
31
comment How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
It did work. You do not have an IP address for eth0. Check in Virtual Machine configuration what type of network did you choose upon Virtual Machine creation. You might have selected option "host only" but you should have used 'NAT'.
Jul
31
comment How to find out if Ubuntu is using DHCP (Ubuntu 12.04 LTS GUI)
I use Backtrack which is based on Ubuntu. If the path is different it will probably be very similar.