Read the fortress.php for instructions (including the end of the file).
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
actingbiz1 Corporal
Joined: May 15, 2004
Posts: 64
Posted:
Sun Jun 13, 2004 11:05 am
ok great thanks!
EDIT: Where/how do I access the .htm and csv files?
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Sun Jun 13, 2004 12:15 pm
They should get created by the web server, if not, you can manually create them... read the end of the fortress.php file.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
actingbiz1 Corporal
Joined: May 15, 2004
Posts: 64
Posted:
Sun Jun 13, 2004 3:18 pm
It only had PHP code no real instructions....
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Sun Jun 13, 2004 3:21 pm
Really? Is has this inside:
Quote:
SUPPORT
If Fortress(TM) is unable to create fortress.csv and fortress.htm then simply create them yourself
using the text below and ensure your web server can append (write) information to them.
Just copy/paste the ode below into their respective filesnames.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
actingbiz1 Corporal
Joined: May 15, 2004
Posts: 64
Posted:
Sun Jun 13, 2004 4:58 pm
Oops! I didnt see that lol...I'll look in the script again
nope....heres the whole code:
Code:
<?php
/* Fortress Beta 1.01 by Nuke Cops, Zhen-Xjell
http://nukecops.com - Computer Cops, LLC
Copyright 2004, All Rights Reserved
License: You may not modify or distribute any parts of the Fortress code without
obtaining written authorsization from the Copyright holder. Doing so is considered
a breach of Copyright. Receiving written authorsization requires that the Copright
and Credits remains in tact.
Platform:
Fortress is written to be called by any PHP developed website. For troubleshooting
or installation helps, visit the Copryight holder's website: http://nukecops.com.
Description:
Fortress is a unique application that provides a multi-faceted approach to security
and alert notifications. Fortress is a live work in progress and will be updated
when milestones are met, and if any patches are released.
Example Use:
Fortress when used with Union Tap Code (UTC) also from Nuke Cops will email alerts
if attacks are spotted to the site webmaster.
Installation:
Save fortress.php in your PHP-Nuke root folder. This is generally where "config.php"
is located.
Configuration:
Go down to the configuration section of Fortress, after this comment section and
modify the variables: $sitename, $to, $subject, $realname, and $domain.
Usage:
Use signifies agreement to the Acceptable Use Policy at Nuke Cops.
Operation:
Phase 1
When Fortress is triggered, a silent email is activated. The suspect is unaware
they are being tracked.
Credits:
The original proof of concept and work in this technology was founded by Allevon,
an Elite Nuker at Nuke Cops and owner of http://allevontech.com. The email alert
proof of concept was inspired by Mister, a loyal Nuke Cops member and owner of
http://protector.warcenter.se. Testing was done by dsnail2000, IACOJ, Sting, and
Zhen-Xjell.
History:
Fortress is the first in its class that doesn't interface with PHP-Nuke. Fortress
protects itself on sites using REGISTER_GLOBALS, and it takes on a truly intelligent
operation where users do not know of its existence. Silent operation ensures all
suspects continue leaving more proof and evidence that they are being malicious.
This information arms you in whatever path you take for action.
Union Tap Code:
The following code is called Union Tap Code. It is not part of the Fortress code,
but it is quoted here for easy access. To install it and call Fortress, open
mainfile.php and after the first line: "<?php" install the following code:
[----CUT----]
// Union Tap Code (UTC) - Fortress Integrated
// Copyright Zhen-Xjell 2004 http://nukecops.com
// Beta 4b Code to prevent UNION SQL Injections
// GNU GPL License 2
// The following catches C-like comment code within all SQL Injections, not just Union.
// White paper available here: http://www.securiteam.com/securityreviews/5FP0O0KCKM.html
// Also caught are plaintext and base64 version of the Union SQL Injection code.
define('ZERO', true);
include('fortress.php');
if (strstr($loc,"*")) {
$method = "CLIKE";
AlertMail($method);
}
if (preg_match("/([OdWo5NIbpuU4V2iJT0n]{5}) /", $loc, $matches)) {
$method = "UNION";
AlertMail($method);
}
ReleaseVars();
[----CUT----]
.end. */
/* Start Configuration Section */
// You Must Configure This Section
$sitename = "Nuke Cops"; // Enter your website name here.
$domain = "http://nukecops.com"; // Enter your full website URL here. Include "http://". Do not include a trailing "/".
$to = "zx@nukecops.com"; // Enter the email address Alerts should be sent to.
$realname = "Zhen-Xjell"; // Enter the full name such that email Alerts may be properly titled.
$subject = "Fortress Alarm @ $sitename"; // You may change the Subject here (optional).
/* End Configuration Section */
/* Do Not Edit Settings Below */
$ver = "Beta 1.01"; // Internal variable for Fortress version.
if (defined('ZERO')) {
// Protecting against possible Register_Global attacks
unset($matches);
unset($rawloc);
unset($loc);
unset($addr);
unset($refer);
unset($agents);
unset($method);
unset($cookies);
unset($authors);
unset($uri);
unset($rawuri);
unset($port);
unset($host);
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
actingbiz1 Corporal
Joined: May 15, 2004
Posts: 64
Posted:
Mon Jun 14, 2004 5:46 pm
Ok can you send me a link?
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Mon Jun 14, 2004 5:48 pm
Its right in the My_Downloads page.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
vandalizer Nuke Cadet
Joined: Jan 20, 2004
Posts: 2
Location: Toronto
Posted:
Fri Nov 05, 2004 10:18 pm
I installed the fortress.htm and the fortress.csv files myself. The htm works so I think but I was wounder if the csv file will auto update as time goes bye.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum