Penetration Testing mailing list archives

Re: Physical ports in IOS


From: Francois Labreque <flabreq () ca ibm com>
Date: Thu, 15 Jun 2006 10:35:38 -0400

"Eduardo Espina" <eduardomx () gmail com> a écrit sur 2006-06-14 16:26:56 :

Hi,

Thanks for the tip, I forgot to say, i'm in a Cisco Catalyst 6500 with
IOS 12.1(8b) and there's no sh mac-address-table command available. 
I do have the enable password, show privilege give me level 15. All 
references to interfaces are to Vlan# but no physical ports anyway.

Then you are in the MSFC module of the switch and it is running in hybrid 
mode.

you need to "sh cdp neighbor detail" to find the ip address of the SUP 
card of the switch and telnet to it.  From there, it will be CatOS 
commands.


Is there a separate port for switch configuration and router 
configuration?, i have other Cisco devices for testing and i found 
the show mac-adress-table useful, but with IOS 12.4. Is it a problem
with IOS version?

Thanks,
Eduardo.

On 6/14/06, Luis Gutierrez <lgutierrez () foxhollowtech com> wrote:


Here is a sample of how to do it:

740S3C22#sh ip arp xx.xx.xx.56

Protocol  Address          Age (min)  Hardware Addr   Type   Interface
Internet  xx.xx.xx.56             1   0011.434c.8b43  ARPA   Vlanxx


740S3C22#sh mac add add 0011.434c.8b43

Unicast Entries
 vlan   mac address     type        protocols               port

-------+---------------+--------+---------------------+-----------------
---
  xx    0011.434c.8b43   dynamic ip
GigabitEthernet6/1


-luis


-----Original Message-----
From: Eduardo Espina [mailto:eduardomx () gmail com]
Sent: Tuesday, June 13, 2006 7:21 PM
To: pen-test () securityfocus com
Subject: Physical ports in IOS

Hi,

I'm pen-testing a network and i've already gained access to a Cisco
switch in certain VLAN; i'm stucked in getting a SPAN port in the
physical port where i'm attached or changing that port to a different
VLAN; "show interfaces fastethernet" doesn't work, and "show
interfaces" just output the MAC address of the VLAN, but i can't find
the way to correlate IP (mine) with the physical port (Fa0/3 i.e.).

Some idea?

Thanks,
Eduardo.


------------------------------------------------------------------------
------
This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the
Analyst's
Choice Award from eWeek. As attacks through web applications continue 
to
rise,
you need to proactively protect your applications from hackers. Cenzic
has the
most comprehensive solutions to meet your application security
penetration
testing and vulnerability management needs. You have an option to go
with a
managed service (Cenzic ClickToSecure) or an enterprise software
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service
can
help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm
your
results from other product. Contact us at request () cenzic com for
details.

------------------------------------------------------------------------
------






------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the 
Analyst's 
Choice Award from eWeek. As attacks through web applications 
continue to rise, 
you need to proactively protect your applications from hackers. 
Cenzic has the 
most comprehensive solutions to meet your application security 
penetration 
testing and vulnerability management needs. You have an option to go 
with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service 
can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm 
your 
results from other product. Contact us at request () cenzic com for 
details.

------------------------------------------------------------------------------



------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's
Choice Award from eWeek. As attacks through web applications continue to rise,
you need to proactively protect your applications from hackers. Cenzic has the
most comprehensive solutions to meet your application security penetration
testing and vulnerability management needs. You have an option to go with a
managed service (Cenzic ClickToSecure) or an enterprise software
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can
help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm your
results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------


Current thread: