akos-sereg / express-defend Goto Github PK
View Code? Open in Web Editor NEWNodeJS Express middleware that detects malicious requests
NodeJS Express middleware that detects malicious requests
Hi, i was wondering if there is a way to trigger your tool if its not SQL inject but just random attempt to scan site ? for example i see many bots or scripts trying to scan for known files on web servers. In this case even so i return a 4XX your script does not trigger .
Here is like the log
Mon, 20 May 2019 13:02:01.681 -07:00 PDT 118.25.59.77 GET /phpMyAdmin+++---/index.php 404 0.355
Mon, 20 May 2019 13:02:14.414 -07:00 PDT 118.25.59.77 GET /v/index.php 404 0.365
Mon, 20 May 2019 13:02:24.044 -07:00 PDT 118.25.59.77 GET /phpmyadm1n/index.php 404 0.186
Mon, 20 May 2019 13:02:52.015 -07:00 PDT 118.25.59.77 GET /shaAdmin/index.php 404 0.306
Mon, 20 May 2019 13:03:24.242 -07:00 PDT 118.25.59.77 GET /phpMyadmi/index.php 404 0.209
Mon, 20 May 2019 13:03:52.345 -07:00 PDT 118.25.59.77 GET /phpMyAdmion/index.php 404 0.359
Mon, 20 May 2019 13:04:04.766 -07:00 PDT 118.25.59.77 GET /s/index.php 404 1.121
Mon, 20 May 2019 13:04:09.340 -07:00 PDT 118.25.59.77 GET /MyAdmin/index.php 404 0.658
Mon, 20 May 2019 13:04:32.983 -07:00 PDT 118.25.59.77 GET /phpMyAdmin1/index.php 404 0.244
Mon, 20 May 2019 13:04:34.629 -07:00 PDT 118.25.59.77 GET /phpMyAdmin123/index.php 404 0.329
Mon, 20 May 2019 13:04:40.777 -07:00 PDT 118.25.59.77 GET /pwd/index.php 404 0.239
Mon, 20 May 2019 13:04:52.859 -07:00 PDT 118.25.59.77 GET /phpMyAdmina/index.php 404 0.264
Mon, 20 May 2019 13:05:12.916 -07:00 PDT 118.25.59.77 GET /phpMydmin/index.php 404 0.414
Mon, 20 May 2019 13:05:32.234 -07:00 PDT 118.25.59.77 GET /phpMyAdmins/index.php 404 0.368
Mon, 20 May 2019 13:05:49.166 -07:00 PDT 118.25.59.77 GET /phpMyAdmin._/index.php 404 0.192
Mon, 20 May 2019 13:05:51.999 -07:00 PDT 118.25.59.77 GET /phpMyAdmin._2/index.php 404 0.689
Mon, 20 May 2019 13:06:00.452 -07:00 PDT 118.25.59.77 GET /phpmyadmin2222/index.php 404 0.211
Mon, 20 May 2019 13:06:17.168 -07:00 PDT 118.25.59.77 GET /php2MyAdmin/index.php 404 0.299
i would like to configure your tool that it also triggers on these types of attempts, is that possible and if so how ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.