Comments (4)
same, just have not checked in the log files...
from evilportals.
For web notification edit your "MyPortal.php".
If you want for example being notified about the "$line" parameter, after the "file_put_contents etc.." string, add this:
exec("pineapple notify '$line' ");
before the "}"
You need to exec $line or $password , $email or whatever you want to be notified about.
Example:
public function handleAuthorization()
{
if(isset($_POST['password'])) {
$line = date('Y-m-d H:i:s') . " - " . $_POST["essid"] . " - " . $_POST['password'] . "\n";
file_put_contents($_POST["log"], $line, FILE_APPEND) or die("Could not set in log file");
exec("pineapple notify '$line'");
}
from evilportals.
@gerrogerro Thanks for your answer. I thought notifications were working since the Readme info says it.
I will try your code.
from evilportals.
There had been changes on the latest firmware as exec("pineapple notify '$line'");
instead of creating new notifications on the web interface, it gets rejected with permission denied.
Will be using this instead exec("notify '$line'");
, applied the fix already e792d8bbd9a0cd62a90cc83ce33ece82449decbe though I'm still having problems on EvilPortal development branch 91f9778 not serving the portals properly, nightly branch d16cbee fails to start on the latest firmware 2.1.2.
from evilportals.
Related Issues (20)
- None Of The Templates Are Logging HOT 3
- You have not been authorized (2) HOT 4
- https captive portal shows as http HOT 1
- patch warning HOT 1
- Is it possible to use the pages from wifiphisher too? HOT 1
- Netflix evil portal HOT 2
- Instagram Captive Portal!! HOT 1
- Instagram Portal is deformed HOT 2
- Google web page won't show css HOT 1
- Modified portal not posting to logs HOT 1
- DOWNLOAD IS BROKEN HOT 2
- Portals not visible HOT 5
- Notify doesn't work HOT 1
- Uncaught SyntaxError: Unexpected token '<' Starbucks Portal
- Firmware Evil Portal
- Permanent Clients write unix @->/tmp/modules/evilportal.sock: write: broken pipe
- Not working with Pineapple wifi mark V
- possibility to use own login forms? HOT 1
- —
- Sorry
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evilportals.