Skip to content

Commit

Permalink
Merge branch 'feature/e2e' into sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
rzafari42 authored Jan 21, 2025
2 parents 98bb690 + 1ab1c41 commit 9d3b51f
Show file tree
Hide file tree
Showing 33 changed files with 6,190 additions and 290 deletions.
246 changes: 123 additions & 123 deletions api/src/routes-api/middlewares/honeyTrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,129 +2,129 @@ import { HONEY_IP_BLOCK_AGAIN, HONEY_IP_TRAPPED } from '../../constants/log-code
import config from "config"

const TRAPS = [
'api/sn',
'api/st',
'api/ip',
'api/b',
'.asp',
'.axd',
'/api/cu',
'/api/cu',
'/api/ti',
'/api/l',
'/api/su',
'/api/to',
'/api/tr',
'/api/m',
'/api/v',
'/testing',
'.ashx',
'.aspx',
'api/user/current',
'api/w',
'api/se',
'PreAuth',
'.file',
'menus',
'server_status',
'whoami',
'apis',
'defaultroot',
'eam/vib',
'9pkocu_riddle',
'9pkocu=riddle',
'.php',
'mobile',
'wp-json',
'graphql',
'v2',
'.yml',
'.yaml',
'swagger.json',
'openapi',
'storefront',
'query',
'T /v1',
'T /admin',
'secure',
'api/v1',
'api/v4',
'swagger',
'.cgi',
'hello',
'quotas',
'jdbc',
'portal',
'src',
'.jsp',
'jolokia',
'batch',
'ping',
'oewnselinqro',
'rest',
'jsonapi',
'.aws',
'api/auth/',
'api/auth 2',
'api/g',
'api/identity',
'api/init',
'api/call',
'roundcube',
'.zip',
'.key',
'.ssh',
'jmx-console',
'.data',
'FileDownload',
'wp-',
'csp_report',
'realms',
'.bak',
'.sql',
'.PhP7',
'.md',
'api/ch',
'.seam',
'.svn',
'riddle',
'.git',
'insights',
'api/na',
'api/no',
'api/sav',
'localhost',
'/admin',
'/api/ 200',
'api/clients',
'/ap 2',
'/run 2',
'/NmConsole 2',
'/user 2',
'/lic 2',
'/overview 2',
'/webui 2',
'/app 2',
'HTTP',
'.avif',
'META-INF',
'.DS_Store',
'.application',
'.cfc',
'.conf',
'.zul',
'nsversion',
'Injection',
'.gz',
'www',
'.1tmhl',
'/bin/',
'.action',
'.cfm',
'.rst',
'passwd',
'.vscode',
'kibana',
// 'api/sn',
// 'api/st',
// 'api/ip',
// 'api/b',
// '.asp',
// '.axd',
// '/api/cu',
// '/api/cu',
// '/api/ti',
// '/api/l',
// '/api/su',
// '/api/to',
// '/api/tr',
// '/api/m',
// '/api/v',
// '/testing',
// '.ashx',
// '.aspx',
// 'api/user/current',
// 'api/w',
// 'api/se',
// 'PreAuth',
// '.file',
// 'menus',
// 'server_status',
// 'whoami',
// 'apis',
// 'defaultroot',
// 'eam/vib',
// '9pkocu_riddle',
// '9pkocu=riddle',
// '.php',
// 'mobile',
// 'wp-json',
// 'graphql',
// 'v2',
// '.yml',
// '.yaml',
// 'swagger.json',
// 'openapi',
// 'storefront',
// 'query',
// 'T /v1',
// 'T /admin',
// 'secure',
// 'api/v1',
// 'api/v4',
// 'swagger',
// '.cgi',
// 'hello',
// 'quotas',
// 'jdbc',
// 'portal',
// 'src',
// '.jsp',
// 'jolokia',
// 'batch',
// 'ping',
// 'oewnselinqro',
// 'rest',
// 'jsonapi',
// '.aws',
// 'api/auth/',
// 'api/auth 2',
// 'api/g',
// 'api/identity',
// 'api/init',
// 'api/call',
// 'roundcube',
// '.zip',
// '.key',
// '.ssh',
// 'jmx-console',
// '.data',
// 'FileDownload',
// 'wp-',
// 'csp_report',
// 'realms',
// '.bak',
// '.sql',
// '.PhP7',
// '.md',
// 'api/ch',
// '.seam',
// '.svn',
// 'riddle',
// '.git',
// 'insights',
// 'api/na',
// 'api/no',
// 'api/sav',
// 'localhost',
// '/admin',
// '/api/ 200',
// 'api/clients',
// '/ap 2',
// '/run 2',
// '/NmConsole 2',
// '/user 2',
// '/lic 2',
// '/overview 2',
// '/webui 2',
// '/app 2',
// 'HTTP',
// '.avif',
// 'META-INF',
// '.DS_Store',
// '.application',
// '.cfc',
// '.conf',
// '.zul',
// 'nsversion',
// 'Injection',
// '.gz',
// 'www',
// '.1tmhl',
// '/bin/',
// '.action',
// '.cfm',
// '.rst',
// 'passwd',
// '.vscode',
// 'kibana',
]
const IP_TRAPPED = []

Expand Down
Loading

0 comments on commit 9d3b51f

Please sign in to comment.