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

Doubt regarding calling mb_send_mail() #14

Open
retrymp3 opened this issue Nov 9, 2023 · 0 comments
Open

Doubt regarding calling mb_send_mail() #14

retrymp3 opened this issue Nov 9, 2023 · 0 comments

Comments

@retrymp3
Copy link

retrymp3 commented Nov 9, 2023

Since the preloadme(void) constructor function will execute the nested functions when the library is loaded, why is there the need to call mb_send_mail()?
Is it to seem more authentic or is there some thing I missed.
If it does execute the functions when it is loaded, what is the relevance of the mail function in PHP and sendmail binary?

Also is it possible to override the mb_send_mail() in the hook. So that when LD_PRELOAD is set, we can call it and get the arbitrary execution.

@retrymp3 retrymp3 closed this as completed Nov 9, 2023
@retrymp3 retrymp3 reopened this Nov 9, 2023
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