Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No icmp socket available, connect permission denied #17

Open
jptang0924 opened this issue Jan 18, 2017 · 0 comments
Open

No icmp socket available, connect permission denied #17

jptang0924 opened this issue Jan 18, 2017 · 0 comments

Comments

@jptang0924
Copy link

In my device, When I run these PoC, the output is below:
shell@android:/data/local/tmp $ ./poc
Creating target socket...>>>> max_fds:4096

create_child pid:102784 pipe_read:3 num_socks_created:0
.socks[num_socks] == -1
errno: 13
OK
0 + 0 sockets created
pipe_reads[0]:3 pids[0]:24455
No icmp socket available

And I find at line 388 in pos.c, function create_icmp_socket() return -1, I know that this is because socket connect failed and the errno is equal to 13 which means permission denied.

What is the problem with the connect and how can I resolve that?
Please some one help me.

Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant