.

OSCP

<<

El33tsamurai

User avatar

Full Member
Full Member

Posts: 219

Joined: Sat Feb 03, 2007 4:01 pm

Post Wed Oct 05, 2011 7:15 pm

OSCP

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?
CCENT, A+, Network+, Security+
<<

Darktaurus

User avatar

Full Member
Full Member

Posts: 181

Joined: Thu Sep 03, 2009 8:48 am

Post Wed Oct 05, 2011 8:58 pm

Re: OSCP

Did you install the tftp client?  I think you just have the server running without the client.
OSCE, OSCP, OSWP, CISSP, GPEN

www.agoonie.com
<<

PDB

Newbie
Newbie

Posts: 3

Joined: Thu Oct 06, 2011 4:41 am

Post Thu Oct 06, 2011 4:47 am

Re: OSCP

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/Repos ... dLine#what

I havent figured it out yet - might look for a diff client to use
<<

PDB

Newbie
Newbie

Posts: 3

Joined: Thu Oct 06, 2011 4:41 am

Post Thu Oct 06, 2011 4:51 am

Re: OSCP

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
<<

PDB

Newbie
Newbie

Posts: 3

Joined: Thu Oct 06, 2011 4:41 am

Post Thu Oct 06, 2011 5:18 am

Re: OSCP

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#
<<

El33tsamurai

User avatar

Full Member
Full Member

Posts: 219

Joined: Sat Feb 03, 2007 4:01 pm

Post Thu Oct 06, 2011 11:45 am

Re: OSCP

PDB wrote: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 :(

maybe you are suppose to install

atftpd and atftp

I am doing this right now, ill get back to you and let you know.
CCENT, A+, Network+, Security+
<<

El33tsamurai

User avatar

Full Member
Full Member

Posts: 219

Joined: Sat Feb 03, 2007 4:01 pm

Post Thu Oct 06, 2011 12:45 pm

Re: OSCP

CCENT, A+, Network+, Security+
<<

El33tsamurai

User avatar

Full Member
Full Member

Posts: 219

Joined: Sat Feb 03, 2007 4:01 pm

Post Thu Oct 06, 2011 1:39 pm

Re: OSCP

Also have you figure out a way to prevent it from starting on bootup?
CCENT, A+, Network+, Security+
<<

El33tsamurai

User avatar

Full Member
Full Member

Posts: 219

Joined: Sat Feb 03, 2007 4:01 pm

Post Sat Dec 03, 2011 6:40 pm

Re: OSCP

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!
CCENT, A+, Network+, Security+

Return to OSCP - Offensive Security Certified Professional

Who is online

Users browsing this forum: No registered users and 0 guests

.
Powered by phpBB® Forum Software © phpBB Group.
Designed by ST Software