You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some REST API paths are available via jobdir and via anypath. I'm not sure if anypath is required as theoretically all job files should be reachable via the jobdir URLs.
Can I disable anypath because it publishes file system details and maybe provides access to any file of the system (not sure)?
This discussion was converted from issue #361 on September 30, 2022 00:45.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Some REST API paths are available via jobdir and via anypath. I'm not sure if anypath is required as theoretically all job files should be reachable via the jobdir URLs.
Can I disable anypath because it publishes file system details and maybe provides access to any file of the system (not sure)?
heritrix3/engine/src/main/java/org/archive/crawler/restlet/EngineApplication.java
Lines 76 to 88 in adac067
Examples:
https://localhost:8443/engine/job/myjob/jobdir/crawler-beans.cxml
https://localhost:8443/engine/anypath//heritrix/jobs/myjob/crawler-beans.cxml
For
myjobin in the job directory/heritrix/jobs/, and the filecrawler-beans.cxmlin the root of the job dir.I know that the Wiki even warns/shows examples how scripting can be used to run arbitrary(?) system commands. ref
All reactions