| Author |
Message |
Dunderklumpen
Corporal


Joined: Apr 25, 2003
Posts: 53
Location: Sweden
|
Posted:
Thu Apr 29, 2004 11:16 pm |
  |
| foxyfemfem wrote: |
Hello,
What version of nuke are you using? I'm using 7.2 and everything work perfect with the common variables. The only problem I had was the $subject and I comment it out, therefore I can post stories with the right "subject" title. According to my website everything else is A-Ok |
That did it. I followed your suggestions and now things seemes to be working - at least the subject is not changed.
Under configuration - comment out the $subject line. |
|
|
       |
 |
rasputin
Sergeant


Joined: May 30, 2003
Posts: 88
|
Posted:
Fri Apr 30, 2004 2:29 am |
  |
Same here ... commentiong out $subject did the magic and code works I know it since some idiot decided to attacke me after this was enabled
Just one thing. It's actually more of a question:
Since most of this a**holes since to be comming form Win boxes - I have a good site, that seems to be particuraly nasty to that OS and pretty much kills it. I use it with Protector for redirection, is there any way we can use this code to redirect them there ?
BTW: here is address, but DO NOT visit it if you are at work or can loose some unfinished work!!! http://banned.mwjz.com . I don't know who created it but my best regards to that person! |
|
|
    |
 |
Dunderklumpen
Corporal


Joined: Apr 25, 2003
Posts: 53
Location: Sweden
|
Posted:
Fri Apr 30, 2004 3:34 am |
  |
Mind you, the $realname has to be commented out also - otherwise any registrations might be broken. That is peoples real names will be replaced with the thing you have written in there.
If I am not misstaken - the configuration should add name, subject and other things to the e-mail being sent in case of an intrusion attempt?
The problem here, as I understand it, is that the tags being used are alredy being used in PhpNuke wich causes a "conflict".
Would it not be much better to configure an e-mail, being sent, in another way?
Perhaps grab the IP and other vital information? |
|
|
       |
 |
scandicdiscopub
Sergeant


Joined: Oct 20, 2003
Posts: 88
|
Posted:
Fri Apr 30, 2004 3:36 am |
  |
Ok this works
sweet and thnx fr that redirect
hehe going to set it
to redirect isnt hard to that with 2 lines of code hehe
| Code: |
if ($user == banned){
//redirecturl
}
|
or something similair |
_________________ All we want is knowledge and if knowledge is power we should be considered dangerous.
http://www.nukeroyal.com|http://www.mexicomiamore.com| |
|
   |
 |
rasputin
Sergeant


Joined: May 30, 2003
Posts: 88
|
Posted:
Fri Apr 30, 2004 6:18 am |
  |
| Quote: |
| to redirect isnt hard to that with 2 lines of code hehe |
So where whould I put this code ? Can you post ?
Thanks |
|
|
    |
 |
TrueDeviL
Nuke Cadet


Joined: Apr 30, 2004
Posts: 2
|
Posted:
Fri Apr 30, 2004 8:15 am |
  |
I also have the Line said, and it still replaces the title of the story :/ ok, so I comment out the $subject line, or change it to $esubject as the other guy did.. Which one?
I also have another issue, I downloaded the 7.1patched version of php-nuke 7.1, and story catagories do not get added to the database, it just say "catagory elready exsists!" even when it's not there, and a fresh install..
Any idea's?.. or shall I make another post for this one?..
Edit:
I have changed the $subject to $esubjuct, in both sections, that's the section that renames the title of the post, and the subject line of the email that is sent, I guess until sum1 tries it, I will not know if it works..
The other problem, still remains :/ |
Last edited by TrueDeviL on Fri Apr 30, 2004 8:31 am; edited 1 time in total |
|
   |
 |
Dunderklumpen
Corporal


Joined: Apr 25, 2003
Posts: 53
Location: Sweden
|
Posted:
Fri Apr 30, 2004 8:30 am |
  |
In the configuration part of fortress.php.
/* 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 */
I suggest that you comment out the $realname also (as above) since that seeems to interfer with real name in registration applications.
I still do not get it why the same tags are used in the configuration-section as in other parts of PHPNUke because that is what is causing the problems. |
|
|
       |
 |
foxyfemfem
Support Staff


Joined: Jan 23, 2003
Posts: 668
Location: USA
|
Posted:
Fri Apr 30, 2004 8:35 am |
  |
Hello,
Change the $subject var in fortress.php to $esubject or comment it out. Make sure if you change $subject to $esubject you do this wherever the $subject is located (There are 4 locations within fortress.php after // You Must Configure This Section). Find all 4 locations and change them to $esubject.
*Note: You can also do this for $realname. Change it to $erealname (4 locations as well) |
_________________ If you shoot for the moon and miss, you'll still be amongst the stars. |
|
   |
 |
TrueDeviL
Nuke Cadet


Joined: Apr 30, 2004
Posts: 2
|
Posted:
Fri Apr 30, 2004 8:52 am |
  |
Ok changed all those values..
Now, for the catagory problem?.. new post, or maybe a fix here if poss.. |
|
|
   |
 |
rfsafe
Nuke Cadet


Joined: May 08, 2004
Posts: 2
|
Posted:
Sat May 08, 2004 4:01 am |
  |
| rasputin wrote: |
BTW: here is address, but DO NOT visit it if you are at work or can loose some unfinished work!!! http://banned.mwjz.com . I don't know who created it but my best regards to that person! |
Nice page to send hackers to!!
in fortress.php
in the last line of function AlertMail
I changed
Header("Location: index.php");
to
Header("Location: http://banned.mwjz.com");
So the hacker gets that nasty little page. Im no pro at this so please let me know if this was a bad thig to do. I dont ever want to send anyone there by mistake. I would hate someone for redirecting me to that page! |
|
|
   |
 |
chexm8
Corporal


Joined: Feb 02, 2003
Posts: 52
Location: UK
|
Posted:
Sun May 09, 2004 9:52 am |
  |
I modified the code that will re-direct hackers to any random site, which can be defined in the configuration part.
You define ten sites urls in the configuration part. I've added all children's websites. lol
Thanks for the above link. I had to re-start my computer to stop the pop-ups. |
_________________ http://www.twindesign.co.uk |
|
    |
 |
bihweb
Private


Joined: May 26, 2003
Posts: 37
|
Posted:
Tue May 11, 2004 1:37 am |
  |
I have a custom code that opens 365 popupwindows of size 15000 x 2000 for all banned hackers  |
|
|
   |
 |
Dunderklumpen
Corporal


Joined: Apr 25, 2003
Posts: 53
Location: Sweden
|
Posted:
Tue May 11, 2004 3:06 am |
  |
I would not advice to start pop-ups or to annoy anyone. That could lead to more attacks. A simple re-direction to Disney might be ok but to start a war is not the best way to handle this.
This type of "user" has one advantage - time - and they most likely have more time than you do. So any protection should work as the standard car alarm - the burglar will steal another car. Just not yours.
In my experince the best way is the "silent" way. A silent alarm, just logging what they did together with the IP - sent to me as admin. And on top of that a silent banning system - just sending them elsewhere or showing them a sign telling them that there IP is logged and they are not welcome due to violations.
This is also a matter of not creating more work than necessary. |
_________________ /Regards Mikael |
|
       |
 |
spottedhog
Captain


Joined: Apr 30, 2004
Posts: 562
|
Posted:
Tue May 11, 2004 5:19 am |
  |
|
     |
 |
zanis
Lieutenant


Joined: Aug 21, 2003
Posts: 213
|
Posted:
Tue May 11, 2004 8:11 pm |
  |
Does anyone know when the new fortress code with IPBan is coming out?? They have talked about it for sometime now but do not say when it will be released - talk about a build up!
Cheers
Zanis |
|
|
   |
 |
|
|