Username: 
Password: 
Restrict session to IP 

Port binding problem  Go to the Training: Net Ports challenge

1 2
Global Rank: 132
Totalscore: 138587
Posts: 6
Thanks: 2
UpVotes: 4
Registered: 12y 32d
wasmaro`s Avatar



The User is Offline
Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi,

I can't bind to source (local) port 5 and any below 20 (1-19) -- "Connection timed out".
Maybe my ISP blocking these ports, because on my localhost (MyIP:5 -> MyIP:80) is working correctly.

So what can I do?
Global Rank: 405
Totalscore: 59105
Posts: 12
Thanks: 4
UpVotes: 6
Registered: 11y 310d
m0ngrel`s Avatar
The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Try using curl. Smile
Global Rank: 132
Totalscore: 138587
Posts: 6
Thanks: 2
UpVotes: 4
Registered: 12y 32d
wasmaro`s Avatar



The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
With curl also not working local port range: 1-19.
$ <censorship>
curl: (7) Failed to connect to www.wechall.net port 80: Connection timed out
Last edited by gizmore - Sep 16, 2014 - 20:51:10
Global Rank: 227
Totalscore: 94363
Posts: 1681
Thanks: 1358
UpVotes: 920
Registered: 16y 297d




Last Seen: 3d 7h
The User is Offline
RE: Port binding problem
Google/translate1Thank You!1Good Post!0Bad Post! link
Censored and changed the challenge to port 42 Smile
The geeks shall inherit the properties and methods of object earth.
Global Rank: 1091
Totalscore: 23658
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 9y 338d
akaryuu`s Avatar


Last Seen: 7y 19d
The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Hi Gizmore, I used curl and managed to get the right port on my side but I can read in the curl output that your script doesnt recognize my userid, in the top of the output I can see I am logged in with my userid but at the table that solves the challenge it prints the following:

</div>
<div class="cl"></div>
<div class="box">
<div class="box_t">Training: IP Ports</div>
<div class="box_c">Hello Guest,<br/>
<br/>
Welcome to another training challenge.<br/>
<br/>
Simply connect here with remote-port <b>42</b>.<br/>
Your current remote-port is <i>42</i>.<br/>
<br/>
Good Luck!<br/>
gizmore
</div>

I am quite sure I am not logged as a guest, I already passed my user, pass and even cookie as parameters of curl, may you point me in the right direction please?, thank you!!
Global Rank: 1091
Totalscore: 23658
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 9y 338d
akaryuu`s Avatar


Last Seen: 7y 19d
The User is Offline
RE: Port binding problem
Google/translate1Thank You!1Good Post!0Bad Post! link
Nevermind, I was passing the cookie without its name, already done, thanks!
Global Rank: 24
Totalscore: 363653
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 10y 231d






The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
My ISP maybe block these ports.I tried as follows:
love0day@warchall ~ $ [CENSORED]
curl: (45) bind failed with errno 13: Permission denied
but love0day@warchall ~ $ [CENSORED]
will be ok.return like this:
<br/>
Simply connect here with remote-port <b>42</b>.<br/>
Your current remote-port is <i>4200</i>.<br/>
<br/>
So I know how to solve this chall,but I can't compete it.Can you change the port to 4200? thanks very much.
Last edited by dloser - Mar 25, 2016 - 15:35:43
Global Rank: 1
Totalscore: 759070
Posts: 437
Thanks: 497
UpVotes: 470
Registered: 15y 136d












The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
"Permission denied" is not an error that is the result of an ISP blocking stuff. So I'd say you actually don't really know how to solve it. ;)
Global Rank: 24
Totalscore: 363653
Posts: 8
Thanks: 3
UpVotes: 3
Registered: 10y 231d






The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
but why I can control my local port to 4200 use that curl command ? 4200 and 42 do have some difference?
I have to login to love0day@warchall by SSH then execute that command to bypass the ISP's blocking.but I haven't the permission to use 42.
that is the bug of this chall.
Global Rank: 1
Totalscore: 759070
Posts: 437
Thanks: 497
UpVotes: 470
Registered: 15y 136d












The User is Offline
RE: Port binding problem
Google/translate0Thank You!0Good Post!0Bad Post! link
Try researching a bit. Then make sure your ISP is really blocking it.
1 2
Cube, Redknee, MeC, tunelko, silenttrack, n0tHappy, nonfungiblesecurity, quangntenemy, TheHiveMind, Z, balicocat, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123, Ben_Dover, stephanduran89, braddie0, SwolloW, dangarbri, csuquvq have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 234724 times.