Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 81 guests and 3 members online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow OSCP - Offensive Security Certified Professionalarrow OSCP
EH-Net
May 26, 2012, 07:22:01 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: OSCP  (Read 3489 times)
0 Members and 2 Guests are viewing this topic.
El33tsamurai
Full Member
***
Offline Offline

Posts: 180


View Profile
« on: October 05, 2011, 07:15:54 PM »

Anyone taking the class right now and using BackTrack5?  If so are you have a problem with the atftpd server?

I install atftpd and every time a reboot inetd is then running on port 69 so tftp is starting somewhere but not all the way.

Next I kill the service and runt atftpd --daemon --port 69 /tmp starts on port 69 and everything looks fine but when you try to tftp 127.0.0.1

you get:

tftp 127.0.0.1
The program 'tftp' can be found in the following packages:
 * tftp-hpa
 * tftp (You will have to enable component called 'universe')


Any ideas?
Logged

CCENT, A+, Network+, Security+
Agoonie
Full Member
***
Online Online

Posts: 143



View Profile
« Reply #1 on: October 05, 2011, 08:58:43 PM »

Did you install the tftp client?  I think you just have the server running without the client.
Logged

OSCE, OSCP, OSWP, CISSP, MEH...
PDB
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: October 06, 2011, 04:47:57 AM »

Yep on the same course and have the same problem.

* tftp (You will have to enable component called 'universe')

TFTP server is defo running:

Something to do with allowing the host to enable the application.
more info here:
https://help.ubuntu.com/community/Repositories/CommandLine#what

I havent figured it out yet - might look for a diff client to use
Logged
PDB
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #3 on: October 06, 2011, 04:51:58 AM »

If we looks here:

vi /etc/apt/sources.list

We can see the repositories listed, but Im thinking we need to add one here

deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing
Logged
PDB
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #4 on: October 06, 2011, 05:18:31 AM »

ok got it:



root@bt:~# apt-cache search ^tftp
tftpbruteforce - TFTP filename bruteforcer
tftp-hpa - HPA's tftp client
tftpd-hpa - HPA's tftp server
tftpd - Trivial file transfer protocol server
tftp - Trivial file transfer protocol client
source-tftpbruteforce - TFTP filename bruteforcer


root@bt:~# apt-get install tftp-hpa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  tftp-hpa
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 26.7kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Get:1 http://32.repository.backtrack-linux.org/ revolution/main tftp-hpa 5.0-11ubuntu2.1 [26.7kB]
Fetched 26.7kB in 3s (8,737B/s)   
Selecting previously deselected package tftp-hpa.
(Reading database ... 232285 files and directories currently installed.)
Unpacking tftp-hpa (from .../tftp-hpa_5.0-11ubuntu2.1_i386.deb) ...
Processing triggers for man-db ...
Setting up tftp-hpa (5.0-11ubuntu2.1) ...

root@bt:~# netstat -anup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
udp        0      0 0.0.0.0:68              0.0.0.0:*                           19792/dhclient3
udp        0      0 0.0.0.0:69              0.0.0.0:*                           22152/atftpd   
udp6       0      0 ::1:55651               ::1:55651               ESTABLISHED 1145/postgres   

root@bt:/etc/init.d# tftp 172.0.0.1
tftp> quit
root@bt:/etc/init.d# ^C
root@bt:/etc/init.d#
Logged
El33tsamurai
Full Member
***
Offline Offline

Posts: 180


View Profile
« Reply #5 on: October 06, 2011, 11:45:55 AM »

ok got it:



root@bt:~# apt-cache search ^tftp
tftpbruteforce - TFTP filename bruteforcer
tftp-hpa - HPA's tftp client
tftpd-hpa - HPA's tftp server
tftpd - Trivial file transfer protocol server
tftp - Trivial file transfer protocol client
source-tftpbruteforce - TFTP filename bruteforcer


root@bt:~# apt-get install tftp-hpa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  tftp-hpa
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 26.7kB of archives.
After this operation, 90.1kB of additional disk space will be used.
Get:1 http://32.repository.backtrack-linux.org/ revolution/main tftp-hpa 5.0-11ubuntu2.1 [26.7kB]
Fetched 26.7kB in 3s (8,737B/s)   
Selecting previously deselected package tftp-hpa.
(Reading database ... 232285 files and directories currently installed.)
Unpacking tftp-hpa (from .../tftp-hpa_5.0-11ubuntu2.1_i386.deb) ...
Processing triggers for man-db ...
Setting up tftp-hpa (5.0-11ubuntu2.1) ...

root@bt:~# netstat -anup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
udp        0      0 0.0.0.0:68              0.0.0.0:*                           19792/dhclient3
udp        0      0 0.0.0.0:69              0.0.0.0:*                           22152/atftpd   
udp6       0      0 ::1:55651               ::1:55651               ESTABLISHED 1145/postgres   

root@bt:/etc/init.d# tftp 172.0.0.1
tftp> quit
root@bt:/etc/init.d# ^C
root@bt:/etc/init.d#


Sorry I did this last night before you posted it works but its not the same thing.  When you go to transfer files from tftp server to yourself says the files are not there Sad

maybe you are suppose to install

atftpd and atftp

I am doing this right now, ill get back to you and let you know.
Logged

CCENT, A+, Network+, Security+
El33tsamurai
Full Member
***
Offline Offline

Posts: 180


View Profile
« Reply #6 on: October 06, 2011, 12:45:03 PM »

Found this and just adjusted to what is needed.

http://www.ubuntugeek.com/howto-setup-advanced-tftp-server-in-ubuntu.html
Logged

CCENT, A+, Network+, Security+
El33tsamurai
Full Member
***
Offline Offline

Posts: 180


View Profile
« Reply #7 on: October 06, 2011, 01:39:52 PM »

Also have you figure out a way to prevent it from starting on bootup?
Logged

CCENT, A+, Network+, Security+
El33tsamurai
Full Member
***
Offline Offline

Posts: 180


View Profile
« Reply #8 on: December 03, 2011, 05:40:03 PM »

So they had a live event for the OSCP, I went got to meet all the peeps and I got to meet Johnny Long, it was amazing!
Logged

CCENT, A+, Network+, Security+
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.159 seconds with 22 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2012 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.