Author Topic: ERROR: Unable to start Apache through SET [SOLVED]  (Read 3219 times)

pjsp92

  • Newbie
  • *
  • Posts: 2
    • View Profile
on: October 27, 2014, 10:01:10 PM
See if you can help me.

set:encoding>1
set:payloads> PORT of the listener [443]:443
  • Generating x86-based powershell injection code for port: 22
  • Generating x86-based powershell injection code for port: 53
  • Generating x86-based powershell injection code for port: 443
  • Generating x86-based powershell injection code for port: 21
  • Generating x86-based powershell injection code for port: 25
  • Finished generating powershell injection bypass.
  • Encoded to bypass execution restriction policy...
  • [-] Encoding the payload 4 times. [-]

  • x86/shikata_ga_nai succeeded with size 341 (iteration=1)
  • x86/shikata_ga_nai succeeded with size 368 (iteration=2)
  • x86/shikata_ga_nai succeeded with size 395 (iteration=3)
  • x86/shikata_ga_nai succeeded with size 422 (iteration=4)
  • [!] Error:Apache does not appear to be running.
    [!] Start it or turn APACHE off in config/set_config
  • Attempting to start Apache manually...
  • [!] ERROR: Unable to start Apache through SET,
    [!] ERROR: Please turn Apache off in the set_config or turn it on manually!
    [!] Exiting the Social-Engineer Toolkit...


     Thank you for shopping with the Social-Engineer Toolkit.
« Last Edit: November 24, 2014, 09:40:19 PM by ZEROF »



ZEROF

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • Pen Tester
Reply #1 on: October 27, 2014, 10:17:29 PM
So lazy,

Issue is: "Attempting to start Apache manually.."

apt-get install apache2 -y
service apache2 start

Learn how to read what you have on your screen, that will save you some time.


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


pjsp92

  • Newbie
  • *
  • Posts: 2
    • View Profile
Reply #2 on: October 27, 2014, 10:40:11 PM
It would have to configure Apache to run it properly?


I think this is a must have properly installed and configured in a standard backbox.



ZEROF

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • Pen Tester
Reply #3 on: October 27, 2014, 10:43:17 PM
Just install apache like i said to you, and have fun.
« Last Edit: October 27, 2014, 11:17:26 PM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


ping

  • Newbie
  • *
  • Posts: 20
    • View Profile
Reply #4 on: November 02, 2014, 10:24:20 PM
for me it only worked when I went to /usr/share/setoolkit/config/set_config and changed "APACHE_SERVER=ON" to "APACHE_SERVER=OFF". does this method effect anything or I am good?



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 580
    • View Profile
Reply #5 on: November 03, 2014, 11:42:15 AM
it won't affect anything, but the app wont use apache anymore that is all.