Solved

How do you disable or delete the CGI script in a switch

Posted on 2008-10-08
5
227 Views
Last Modified: 2012-05-05
I have a switch running CGI script nph-test-cgi on a switch. How can I remove or delete it? And what will happen when I do that?
0
Comment
Question by:bankadmin
  • 2
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
MrJemson earned 500 total points
ID: 22674032
router(conf)# no ip http server

Will turn off the http server all together...

Or try:

router# show flash

If you see the cgi script

router# delete flash:<NAME OF SCRIPT>
0
 
LVL 10

Expert Comment

by:kyleb84
ID: 22675966
What brand/model switch is it?
0
 

Author Comment

by:bankadmin
ID: 22678446
Mrjemson. Doing that will that just affect the http config interface for the switch?
0
 
LVL 10

Expert Comment

by:kyleb84
ID: 22682914
Yes, that's correct.

Your fear of using this script is misplaced, it's not a major security hole - it only allows a would be hacker to find out where the cgi-bin is on the device... nothing more.

And the fact that it's a switch probably means that it's on your private network and not accessible from the outside world - which again limits its potential threat.

Mr Jemson is right in just saying disable the http server altogether, the HTTP server is just an interface for the underlying command line interface - and therefore won't do any harm to your current config.
0
 
LVL 8

Expert Comment

by:MrJemson
ID: 22682981
> Mrjemson. Doing that will that just affect the http config interface for the switch?
Correct. It is good practice to always turn off the http server when not actively configuring a device.
If you are not too good with the command line, just turn it back on again when you need to change/configure something :-)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cant browse or ping a particular URL 2 44
Layer 2 versus layer 3 10 116
MAC address learning of Riverbed 4 67
switch design question 6 42
In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question