Comments (1)
If you look at LookingGlass::validate()
and it's subsidiary calls, you'll notice it's not that scary. The input is always validated against an IP or URL. The part that you've quoted (FILTER_SANITIZE_URL
) is there as a backup.
Using escapeshellarg()
isn't necessary, as I've already ensured single quotes are removed (in the section you've quoted). Instead of escaping single quotes via escapeshellarg()
, I'm simply removing them.
from lookingglass.
Related Issues (20)
- Feature request: Docker Container HOT 4
- Fatal error: Uncaught Error: Function name must be a string in /ajax.php:44 HOT 8
- speedtest feature HOT 4
- run commands (mtr, ping , traceroute) not working HOT 6
- Old code in index.php HOT 1
- RFC1918 space not failing validation
- Compatibiity with PHP 7.2 (on ubuntu 18.04 LTS) HOT 1
- It's dead HOT 1
- PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/html/ajax.php on line 44 HOT 2
- Rate limiting of network command not work
- How to uninstall lookingglass? HOT 2
- apache LG HOT 2
- change port HOT 3
- SSH authorization
- traceroute and mtr giving blank response HOT 1
- Real time ping response
- router Nokia
- Dont work on CentOS 8? (Php7), No Network tests HOT 2
- contributor HOT 3
- "mtr" and "ping" features do not work on CentOS 7.
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 lookingglass.