Jump to content

set_config


L3arn3r
 Share

Recommended Posts

Hi folks,

I am using Social-Engineer Toolkit (SET) but i also have an apache server on same pc of course which is running on 80 port but when i try to change 80 port into 56 4444 (any) from set_config file then set not work for me.

it continuously creating loop

here is the example;

./set

blah

blah

blah

blah

Last option# port to use for the reverse [443]: 443

automatically exit from set :S

Waiting for the solution?

Edited by L3arn3r
Link to comment
Share on other sites

If apache is already running (which I noticed in BT5 R3) and SET wants to start it for you, it may fail. When I boot, firt two things I do in BT5 is killall -9 apache and killall -9 wicd then startx and tools like armitage and others then seem to work ok since apache is started on boot(at least on my laptop). I'm not 100% sure if apache gets restarted by SET, but if you want to make port changed, you have to restart apache anyway, for it to see the new port, or edit the apache conf to run it on non standard ports, one or the other. If SET handles setting the port for you for apache, you probably just need to restart apache to then come back up under the new port. Most apache changes aren't seen until a restart anyway unless you run multiple instances of it.

Edited by digip
Link to comment
Share on other sites

nop! you didn't understand

Let me explain you more!

i do not want to change my Apache port. I want to change port for set tool kit using a config file of set which is under the directory of SET called "set_config" (path path/set/config/set_config)

https://github.com/trustedsec/social-engineer-toolkit/blob/master/config/set_config

As i've done it and edited successfully but set is not working. however, its just work on 80 port

Still waiting for the solution?

Link to comment
Share on other sites

nop! you didn't understand Let me explain you more! i do not want to change my Apache port. I want to change port for set tool kit using a config file of set which is under the directory of SET called "set_config" (path path/set/config/set_config) https://github.com/trustedsec/social-engineer-toolkit/blob/master/config/set_config As i've done it and edited successfully but set is not working. however, its just work on 80 port Still waiting for the solution?

As mentioned, Apache is set to run on 80 by default. Changing it in SET config, does not change the PORT Apache2 is running on(if using Apache or Apache2, which is on in BT5R3 at boot and set to port 80. If you change it in set to some other port, then you need to edit the Apache conf to "listen" on something other than 80, and "restart" Apache or whatever web server is in use. Follow?

Look in /etc/apache2/ for conf files (I beleive is the path for either httpd.conf or apache.conf or whatever its using). The Apache listening ports need to be changed, then apache restarted to then listen on the other ports you want to use if you've specified something different in SET, they have to match.

### Specify what port to run the http server off of that serves the java applet attack

### or metasploit exploit. Default is port 80. This also goes if you are using apache_server equal on.

### You need to specify what port Apache is listening on in order for this to work properly.

WEB_PORT=80

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...