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

stealth htaccess problem #1

Closed
stuffresearch opened this issue Feb 14, 2012 · 1 comment
Closed

stealth htaccess problem #1

stuffresearch opened this issue Feb 14, 2012 · 1 comment

Comments

@stuffresearch
Copy link

Hello,
I tried to use your stealth htaccess.
I saved this file https://github.com/wireghoul/htshells/blob/master/mod_php.stealth-shell.htaccess as .htaccess and too as favicon as described at :
http://www.justanotherhacker.com/2011/12/writing-a-stealth-web-shell.html
I saved client from here: https://github.com/wireghoul/htshells/blob/master/stsh.pl

$ perl stsh.pl http://172.16.202.134/favicon.ico
Connecting to shell at http://172.16.202.134/favicon.ico - type 'exit' to exit
shell> id
Error! No payload in response!

shell> exit
Error! No payload in response!
$ perl stsh.pl http://172.16.202.134/.htaccess
Connecting to shell at http://172.16.202.134/.htaccess - type 'exit' to exit

I already have AllowOveride All into my apache directive.
Please, can you show me a correct direction to use this ?
Regards,

@stuffresearch
Copy link
Author

simply typing:

a2enmod rewrite, solve my problem, the solution was look at error.log

thank you :) work a charm !

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