<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Script to reload PIX in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478871#M533443</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not configured that but the basic problem is that in the scipt itself the username and password would anyway be in clear text, which is a bad idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you could use Expect or Rancid in an Linux or Unix envoronment or Perl in windows of unix system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Links:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.shrubbery.net/rancid/" target="_blank"&gt;http://www.shrubbery.net/rancid/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://expect.nist.gov/#examples" target="_blank"&gt;http://expect.nist.gov/#examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.perl.com/download.csp#binary" target="_blank"&gt;http://www.perl.com/download.csp#binary&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that gets you one step further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sincerely&lt;/P&gt;&lt;P&gt;Patrick &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Sep 2005 02:10:07 GMT</pubDate>
    <dc:creator>Patrick Iseli</dc:creator>
    <dc:date>2005-09-10T02:10:07Z</dc:date>
    <item>
      <title>Script to reload PIX</title>
      <link>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478870#M533442</link>
      <description>&lt;P&gt;Does someone know of or has created a script to login to a PIX and reload it without any intervention from the user?  I can figure this out with Putty, but I was hoping to find a self contained script that any user can run from anywhere.  The user would not know the commands used or the username/password.  Any help would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2020 08:23:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478870#M533442</guid>
      <dc:creator>johnvojtech</dc:creator>
      <dc:date>2020-02-21T08:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Script to reload PIX</title>
      <link>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478871#M533443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not configured that but the basic problem is that in the scipt itself the username and password would anyway be in clear text, which is a bad idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway you could use Expect or Rancid in an Linux or Unix envoronment or Perl in windows of unix system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Links:&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.shrubbery.net/rancid/" target="_blank"&gt;http://www.shrubbery.net/rancid/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://expect.nist.gov/#examples" target="_blank"&gt;http://expect.nist.gov/#examples&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-custom" href="http://www.perl.com/download.csp#binary" target="_blank"&gt;http://www.perl.com/download.csp#binary&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that gets you one step further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sincerely&lt;/P&gt;&lt;P&gt;Patrick &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2005 02:10:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478871#M533443</guid>
      <dc:creator>Patrick Iseli</dc:creator>
      <dc:date>2005-09-10T02:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Script to reload PIX</title>
      <link>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478872#M533444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with perl and some change (the complete code i 'had done will use a web page) will be like:&lt;/P&gt;&lt;P&gt;        $session-&amp;gt;login($conf{LOGIN}, $conf{PASS});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        die "Non sono riusciato ad aprire il telnet\n" if(! $session);&lt;/P&gt;&lt;P&gt;        $ok = $session-&amp;gt;enable(Password =&amp;gt; $conf{ENAPASS}, Level =&amp;gt; $conf{ENALEVEL});&lt;/P&gt;&lt;P&gt;        if ( $ok eq 0)&lt;/P&gt;&lt;P&gt;        {&lt;/P&gt;&lt;P&gt;                print STDERR "Enable Failed\n";&lt;/P&gt;&lt;P&gt;        }else{&lt;/P&gt;&lt;P&gt;                # Execute a command&lt;/P&gt;&lt;P&gt;                @output1 = $session-&amp;gt;cmd('configure terminal');&lt;/P&gt;&lt;P&gt;                @output2 = $session-&amp;gt;cmd('controller e1 1/0');&lt;/P&gt;&lt;P&gt;                @output3 = $session-&amp;gt;cmd('loop');&lt;/P&gt;&lt;P&gt;                sleep(3);&lt;/P&gt;&lt;P&gt;                @output4 = $session-&amp;gt;cmd('no loop');&lt;/P&gt;&lt;P&gt;                @output5 = $session-&amp;gt;cmd('end');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                print "1&amp;gt; @output1&lt;BR /&gt;\n2&amp;gt; @output2&lt;BR /&gt;\n3&amp;gt; @output3&lt;BR /&gt;\n4&amp;gt; @output4&lt;BR /&gt;\n5&amp;gt; @output5&lt;BR /&gt;\n";&lt;/P&gt;&lt;P&gt;                print STDERR "Warning !! loop no loop\n1&amp;gt; @output1\n2&amp;gt; @output2\n3&amp;gt; @output3\n4&amp;gt; @output4\n5&amp;gt; @output5\n";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:09:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/script-to-reload-pix/m-p/478872#M533444</guid>
      <dc:creator>sbianchi</dc:creator>
      <dc:date>2005-09-16T07:09:17Z</dc:date>
    </item>
  </channel>
</rss>

