what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

pss_php3

pss_php3
Posted Oct 18, 1999

pss.php3

SHA-256 | c231c024dc475fb922e27c86d44753146e61ab196e2dc58d111ec2607e7b5c3e

pss_php3

Change Mirror Download
<html>
<head>
<title>Shanners Packetstorm WhatsNew20 Grabber: http://www.hack-net.com/pss.php3</title>

<!--
This Simple little PHP3 Script will parse the whatsnew20.txt file and present the information
in a nice fashion. Please make sure that you have set up a crontab to GRAB the text file,
using the following script: (edit it for your own use)

#MAKE SURE YOU SET UP A CRONTAB TO EXECUTE THE SCRIPT
#do something like this:

*/30 * * * * /home/user/news.sh

then once you have done this, use the script below to grab the packetstorm whatsnew20.txt

#!/bin/sh
#
# This script has been used from the PPS site, (ripped from technotronic)
#
/usr/local/bin/wget http://packetstorm.securify.com/whatsnew20.txt

if [ ! -s whatsnew20.txt]
then
echo Error: Couldn't find whatsnew20.txt
exit 1
fi

mv /full/path/to/whatsnew20.txt /full/path/to/public_html/
chmod a+r /home/user/public_html/whatsnew20.txt
echo Copied The Datafile for PSS
exit 0


HNC Network: http://www.hack-net.com
All rights reserved

-->


<body bgcolor="#ffffff" text="#000000">

<?PHP
//location of whatsnew20.txt file
$packetstorm = file('/opt2/home3/hack-net/public_html/cgibin/news/packetstorm_updates.txt');
$numlines = count($packetstorm);
$numpss = ($numlines - 4)/6;
$i = 0;


$filename = 0;
$download = 1;
$time = 2;
$description = 3;




while($numpss > $i)

{
//print table
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"50%\"><tr><td><font size=\"1\" FACE=\"verdana, helvetica\">\n";
echo "<b>$packetstorm[$time]:</B></font> <font size=\"1\" face=\"verdana, helvetica\" color=\"red\"><B>$packetstorm[$filename]</b> </font><font size=\"1\" face=\"verdana, helvetica\" color=\"#000000\">(<a href=\"$packetstorm[$download]\"><B>Download this file</b></a>)</font></td></tr><BR>\n";
echo "<tr><td valign=\"top\"><font size=\"1\" face=\"verdana, helvetica\"><B>Descritption: </b>$packetstorm[$description]<BR>\n";
echo "</td></tr></table>";

// scan the next section
$filename = $filename + 6;
$download = $download + 6;
$time = $time + 6;
$description = $description + 6;
$i++;


}



?>

</body>
</html>
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close