redteamsecuritytraining / PlugBot-Plug

The "bot" component of the PlugBot project
Other
270 stars 68 forks source link

localhost/pb does not work #10

Open raybeatsofficial opened 7 years ago

raybeatsofficial commented 7 years ago

Hi,

my problem is that i can't open localhost/pb and a tried it with using my ip address, same problem:

Not Found

The requested URL /pb was not found on this server. Apache/2.4.10 (Raspbian) Server at myipaddress Port 80

Please help me as soon as possible :(

raybeatsofficial commented 7 years ago

i also installed C2C, still not working..

kilianplapp commented 7 years ago

Did you install the PlugBot files in a folder named pb?

raybeatsofficial commented 7 years ago

noo i installed every file that is neede for the plugbot in /var/www/ the PlugBot folder is in there and the PlugBotC2C folder

raybeatsofficial commented 7 years ago

damn i didn't wanted to close

kilianplapp commented 7 years ago

Copy the contents of The Plugbot folder in /var/www/

raybeatsofficial commented 7 years ago

yeah i did already done, still not working i can connect to index.php/home/setup but not so /pb

kilianplapp commented 7 years ago

Well you do not need to connect to /pb/ . index.php/home/setup is all you need. /pb/ is not even a folder

raybeatsofficial commented 7 years ago

but how can i install some scripts then

raybeatsofficial commented 7 years ago

in the video Getting started with PlugBot #2/3 he connectin to /pb right

raybeatsofficial commented 7 years ago

i can't open the dropzone url, my dropzone url is /pb nothing more at the end

MikeBrawley commented 5 years ago

@raybeatsofficial I think I figured this out and will test it tonight. Plugbot-plug is only one part of a plugbot deployment. You also need to setup https://github.com/redteamsecurity/PlugBot-C2C offsite in a seperate location. The plugbot-plug connects back to the C2C and C2C is the website you connect to do all of your activities. Plugbot-Plug is simply a connection outbound that stays open to the C2C for you to get the backdoor into the location of the Plugbot-plug.

Also I found this article useful to get plugbot to work with PHP https://www.helloitsliam.com/2017/09/14/note-to-self-plugbot-on-raspberry-pi-raspbian-php7-fixes/