Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-shells/bash USE=net [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 782
Location: usually offline

PostPosted: Sun Jun 04, 2017 12:10 pm    Post subject: app-shells/bash USE=net [solved] Reply with quote

what is the "net" use flag for app-shells/bash? i'm afraid i don't quite understand. please explain.
equery uses app-shells/bash:
net          : Enable /dev/tcp/host/port redirection


Last edited by josephg on Fri Aug 04, 2017 7:57 am; edited 2 times in total
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6276

PostPosted: Sun Jun 04, 2017 1:25 pm    Post subject: Reply with quote

With this flag you can do
Code:
echo 1 >/dev/tcp/testme.invalid/8000
and the output "1" will actually be sent over TCP protocol to testme.invalid:8000
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 782
Location: usually offline

PostPosted: Sun Jun 04, 2017 2:11 pm    Post subject: Reply with quote

wow 8O thank you mv
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum