Author Topic: Set error message.??  (Read 1007 times)

zotek

  • Noob
  • *
  • Posts: 7
  • Reputation: 0
Set error message.??
« on: August 31, 2012, 06:15:18 pm »
Cant start ./set? Whats wrong? Please help..

Apetrick

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3536
  • Reputation: 91
  • <Apetrick> lank is 1337
  • Badges:
  • iDevices: Ipod Touch 4g
Re: Set error message.??
« Reply #1 on: August 31, 2012, 06:25:06 pm »
Change the config file to framework not framework3 for metaspoit
<%a12danrulz> Idk, but doing a DoS from an apple device is like fighting a bear with a plastic spork

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5152
  • Reputation: 252
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Set error message.??
« Reply #2 on: August 31, 2012, 07:20:19 pm »
In the set.config file change the path and name of where SET looks for Metasploit.
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4078
  • Reputation: 221
  • Badges:
Re: Set error message.??
« Reply #3 on: August 31, 2012, 07:25:01 pm »
Edit /var/root/pentest/exploits/set/config/set_config and change METASPLOIT_PATH to /var/root/pentest/exploits/framework

Apetrick

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3536
  • Reputation: 91
  • <Apetrick> lank is 1337
  • Badges:
  • iDevices: Ipod Touch 4g
Re: Set error message.??
« Reply #4 on: August 31, 2012, 07:27:32 pm »
maybe we need to make a topic on how to officially get SET to work. that or someone pull it off the repo for 20 minutes and change the config file.
<%a12danrulz> Idk, but doing a DoS from an apple device is like fighting a bear with a plastic spork

Don't like seeing ads? Click here to register!

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2913
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Set error message.??
« Reply #5 on: August 31, 2012, 07:36:25 pm »
You don't need to pull it off the repo. But my package skills are...rusty..

Apetrick

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3536
  • Reputation: 91
  • <Apetrick> lank is 1337
  • Badges:
  • iDevices: Ipod Touch 4g
Re: Set error message.??
« Reply #6 on: August 31, 2012, 08:26:18 pm »
You don't need to pull it off the repo. But my package skills are...rusty..
ironman made a topic on how to gget it to work.
<%a12danrulz> Idk, but doing a DoS from an apple device is like fighting a bear with a plastic spork

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5152
  • Reputation: 252
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Set error message.??
« Reply #7 on: August 31, 2012, 08:28:56 pm »
I'm working on it.
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

zotek

  • Noob
  • *
  • Posts: 7
  • Reputation: 0
Re: Set error message.??
« Reply #8 on: September 01, 2012, 03:47:55 pm »
I did changed it and its doing same thing..pleae thank a look.

Thanks


zotek

  • Noob
  • *
  • Posts: 7
  • Reputation: 0
Re: Set error message.??
« Reply #9 on: September 01, 2012, 04:52:47 pm »
Ok i got that part fix. Thanks guys for your help. Now new error. Pleae see the picture
 Thanks.


Don't like seeing ads? Click here to register!

Winning

  • Hero Member
  • *****
  • Posts: 1632
  • Reputation: 26
  • I think I saw this in a movie
  • Computers: Toshiba Thrive Tablet
  • iDevices: iPod touch 4G
Re: Set error message.??
« Reply #10 on: September 01, 2012, 05:31:08 pm »
Just copy and paste this into your set file instead of whatevers there now.


#!/usr/bin/python
from src.core import setcore
from src.core.menu import text
import os,subprocess,sys

#########################################
# The Social-Engineer Toolkit (SET)     #
# Written by: David Kennedy (ReL1K)     #
# Email: davek@secmaniac.com            #
#########################################

# this is the main menu structure for SET

# main menu

################################################
# ROOT CHECK
################################################

if os.geteuid() != 0:
        print "\n The Social-Engineer Toolkit (SET) - by David Kennedy (ReL1K)"
        print "\n Not running as root. \n\nExiting the Social-Engineer Toolkit (SET).\n"
        setcore.ExitSet()

setcore.check_pexpect()
setcore.check_beautifulsoup()
define_version = setcore.GetVersion()
setcore.cleanup_routine()

try:
        # Remove old Signed_Updates
        if os.path.isfile("src/program_junk/Signed_Update.jar"):
                subprocess.Popen("rm src/program_junk/Signed_Update.jar", stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)

        # intitial user menu
        if not os.path.isfile("src/agreement"):
                print """Copyright 2011, The Social-Engineer Toolkit (SET)
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer
      in the documentation and/or other materials provided with the distribution.
    * Neither the name of Social-Engineer Toolkit nor the names of its contributors may be used to endorse or promote products derived from
      this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The above licensing was taken from the BSD licensing and is applied to Social-Engineer Toolkit as well.

Note that the Social-Engineer Toolkit is provided as is, and is a royalty free open-source application.

Feel free to modify, use, change, market, do whatever you want with it as long as you give the appropriate credit where credit
is due (which means giving the authors the credit they deserve for writing it).\n"""

                print setcore.bcolors.RED + """
The Social-Engineer Toolkit is designed purely for good and not evil. If you are planning on using this tool for malicious purposes that are 
not authorized by the company you are performing assessments for, you are violating the terms of service and license of this toolset. By hitting 
yes (only one time), you agree to the terms of service and that you will only use this tool for lawful purposes only."""
                choice = raw_input("\nDo you agree to the terms of service [y/n]: ")
                if choice == "yes" or choice == "y":
                        filewrite = file("src/agreement", "w")
                        filewrite.write("user accepted")
                        filewrite.close()
                        print setcore.bcolors.ENDC
                else: 
                        print "[!] Exiting the Social-Engineer Toolkit, have a nice day." + setcore.bcolors.ENDC
                        sys.exit()
                      
        while 1:
                setcore.show_banner(define_version,'1')
                show_main_menu = setcore.CreateMenu(text.main_text, text.main_menu)

                # special case of list item 99
                print '\n  99) Exit the Social-Engineer Toolkit\n'

                # mainc ore menu
                main_menu_choice = (raw_input(setcore.setprompt("0", "")))

                # quit out
                if main_menu_choice == 'exit' or main_menu_choice == "99" or main_menu_choice == "quit":
                        setcore.ExitSet()
                        # cleans up stale processes from SET
                        try:
                                # kill anything python running on 80
                                kill_proc("80","python")
                                # kill anything on 443 ruby which is generally a rogue listener
                                kill_proc("443", "ruby")
                        except: pass
                        subprocess.Popen("killall python 1> /dev/null 2> /dev/null", shell = True).wait()

                # load set
                if main_menu_choice == '1':
                        try:
                                reload(src.core.set)
                        except:
                                import src.core.set

                # load fasttrack
                if main_menu_choice == '2':
                        try: reload(src.core.fasttrack)
                        except: import src.core.fasttrack
        
                # third party modules
                if main_menu_choice == '3':
                        try: reload(src.core.module_handler)
                        except: import src.core.module_handler

                # update metasploit
                if main_menu_choice == '4':
                        setcore.update_metasploit()

                # update set
                if main_menu_choice == '5':
                        setcore.update_set()

                # credits
                if main_menu_choice == '6':
                        setcore.help_menu()

# handle keyboard interrupts
except KeyboardInterrupt:
        print "\n\n Thank you for " + setcore.bcolors.RED+"shopping" + setcore.bcolors.ENDC+" at the Social-Engineer Toolkit.\n\n Hack the Gibson...and remember...hugs are worth more than handshakes.\n"

# handle exceptions
#except Exception, error:
 #       setcore.log(error)
  #      print "\n\n Something went wrong, printing the error: "+ str(error)

zotek

  • Noob
  • *
  • Posts: 7
  • Reputation: 0
Re: Set error message.??
« Reply #11 on: September 04, 2012, 02:08:00 pm »
thanks but after copying your code i get more error..so wat i did is i reintall SET but after reinstalling. Framework folder is missing? Please help

Winning

  • Hero Member
  • *****
  • Posts: 1632
  • Reputation: 26
  • I think I saw this in a movie
  • Computers: Toshiba Thrive Tablet
  • iDevices: iPod touch 4G
Re: Set error message.??
« Reply #12 on: September 04, 2012, 03:17:20 pm »
Framework has nothing to do with set...

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4540
  • Reputation: 167
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Set error message.??
« Reply #13 on: September 04, 2012, 03:25:03 pm »
Ensure that metasploit is installed. Next deleted and then reclone set with
Code: [Select]
svn co http://svn.trustedsec.com/social_engineering_toolkit set/
finally edit the set config file and try again. 

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4078
  • Reputation: 221
  • Badges:
Re: Set error message.??
« Reply #14 on: September 04, 2012, 03:30:30 pm »
Framework has nothing to do with set...
Framework has everything to do with SET.... SET is mainly metasploit automation.