mirror of
https://github.com/hak5/nano-tetra-modules.git
synced 2025-10-29 16:58:09 +00:00
Add modules to repository
This commit is contained in:
25
PortalAuth/includes/scripts/injects/Blank/MyPortal.php
Executable file
25
PortalAuth/includes/scripts/injects/Blank/MyPortal.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php namespace evilportal;
|
||||
|
||||
class MyPortal extends Portal
|
||||
{
|
||||
|
||||
public function handleAuthorization()
|
||||
{
|
||||
// Call parent to handle basic authorization first
|
||||
parent::handleAuthorization();
|
||||
|
||||
// Check for other form data here
|
||||
}
|
||||
|
||||
public function showSuccess()
|
||||
{
|
||||
// Calls default success message
|
||||
parent::showSuccess();
|
||||
}
|
||||
|
||||
public function showError()
|
||||
{
|
||||
// Calls default error message
|
||||
parent::showError();
|
||||
}
|
||||
}
|
||||
25
PortalAuth/includes/scripts/injects/Blank/backups/MyPortal.php
Executable file
25
PortalAuth/includes/scripts/injects/Blank/backups/MyPortal.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php namespace evilportal;
|
||||
|
||||
class MyPortal extends Portal
|
||||
{
|
||||
|
||||
public function handleAuthorization()
|
||||
{
|
||||
// Call parent to handle basic authorization first
|
||||
parent::handleAuthorization();
|
||||
|
||||
// Check for other form data here
|
||||
}
|
||||
|
||||
public function showSuccess()
|
||||
{
|
||||
// Calls default success message
|
||||
parent::showSuccess();
|
||||
}
|
||||
|
||||
public function showError()
|
||||
{
|
||||
// Calls default error message
|
||||
parent::showError();
|
||||
}
|
||||
}
|
||||
4
PortalAuth/includes/scripts/injects/Blank/backups/injectCSS.txt
Executable file
4
PortalAuth/includes/scripts/injects/Blank/backups/injectCSS.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
<!--
|
||||
<style>
|
||||
</style>
|
||||
-->
|
||||
4
PortalAuth/includes/scripts/injects/Blank/backups/injectHTML.txt
Executable file
4
PortalAuth/includes/scripts/injects/Blank/backups/injectHTML.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
<!--
|
||||
<div>
|
||||
</div>
|
||||
-->
|
||||
4
PortalAuth/includes/scripts/injects/Blank/backups/injectJS.txt
Executable file
4
PortalAuth/includes/scripts/injects/Blank/backups/injectJS.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
<!--
|
||||
<script>
|
||||
</script>
|
||||
-->
|
||||
3
PortalAuth/includes/scripts/injects/Blank/backups/injectPHP.txt
Executable file
3
PortalAuth/includes/scripts/injects/Blank/backups/injectPHP.txt
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$destination = "http://". $_SERVER['HTTP_HOST'] . $_SERVER['HTTP_URI'] . "";
|
||||
?>
|
||||
4
PortalAuth/includes/scripts/injects/Blank/injectCSS.txt
Executable file
4
PortalAuth/includes/scripts/injects/Blank/injectCSS.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
<!--
|
||||
<style>
|
||||
</style>
|
||||
-->
|
||||
4
PortalAuth/includes/scripts/injects/Blank/injectHTML.txt
Executable file
4
PortalAuth/includes/scripts/injects/Blank/injectHTML.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
<!--
|
||||
<div>
|
||||
</div>
|
||||
-->
|
||||
4
PortalAuth/includes/scripts/injects/Blank/injectJS.txt
Executable file
4
PortalAuth/includes/scripts/injects/Blank/injectJS.txt
Executable file
@@ -0,0 +1,4 @@
|
||||
<!--
|
||||
<script>
|
||||
</script>
|
||||
-->
|
||||
3
PortalAuth/includes/scripts/injects/Blank/injectPHP.txt
Executable file
3
PortalAuth/includes/scripts/injects/Blank/injectPHP.txt
Executable file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$destination = "http://". $_SERVER['HTTP_HOST'] . $_SERVER['HTTP_URI'] . "";
|
||||
?>
|
||||
Reference in New Issue
Block a user