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

Using deprecated function getdtablesize #1731

Closed
Misterodd opened this issue May 11, 2022 · 3 comments
Closed

Using deprecated function getdtablesize #1731

Misterodd opened this issue May 11, 2022 · 3 comments

Comments

@Misterodd
Copy link

Misterodd commented May 11, 2022

Hey,

while trying to run wpscan on Android (I know you don't support it, now at least.) I find it odd that you use a deprecated function.
Why not using sysconf() with the _SC_OPEN_MAX option instead?
As recommended by the Linux foundation: https://refspecs.linuxfoundation.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generic/baselib-getdtablesize.html
The question is also for how long this function will continue to exist on other Linux distributions. (Android is also a Linux distribution, you know.... (Using the Linux kernel))

Hope someone is able to implement that. Then maybe it is possible to unofficially support Android, even if it's already Linux.

Have a great day.

@Misterodd
Copy link
Author

Reference issues: #1145 #1150 #1168 #1177 #1230 #1382

@erwanlr
Copy link
Member

erwanlr commented May 11, 2022

We don't have such function in WPScan code, it's from the Ethon dependency library, so you should post there. Apparently they tried to replace it but had issues: typhoeus/ethon#192

@erwanlr erwanlr closed this as completed May 11, 2022
@Misterodd
Copy link
Author

Ok thank you. Hope this thread will help others.

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

2 participants