Title: Add a security manager to the Sandbox class to prevent file access · Issue #15 · Together-Java/JShellBot · GitHub
Open Graph Title: Add a security manager to the Sandbox class to prevent file access · Issue #15 · Together-Java/JShellBot
X Title: Add a security manager to the Sandbox class to prevent file access · Issue #15 · Together-Java/JShellBot
Description: For example, you should be able to prevent calls like !jshell java.util.Arrays.toString(new java.io.File(".").listFiles()); OR !jshell java.util.Arrays.toString(new java.io.File("/home/").listFiles()); from listing files on the system th...
Open Graph Description: For example, you should be able to prevent calls like !jshell java.util.Arrays.toString(new java.io.File(".").listFiles()); OR !jshell java.util.Arrays.toString(new java.io.File("/home/").listFiles...
X Description: For example, you should be able to prevent calls like !jshell java.util.Arrays.toString(new java.io.File(".").listFiles()); OR !jshell java.util.Arrays.toString(new java.io.File("/ho...
Opengraph URL: https://github.com/Together-Java/JShellBot/issues/15
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add a security manager to the Sandbox class to prevent file access","articleBody":"For example, you should be able to prevent calls like \r\n`!jshell java.util.Arrays.toString(new java.io.File(\".\").listFiles());`\r\nOR\r\n`!jshell java.util.Arrays.toString(new java.io.File(\"/home/\").listFiles());`\r\nfrom listing files on the system that it is running on.\r\n\r\nWe would need to add this option to the example configuration file. **bot.properties.example**.","author":{"url":"https://github.com/irufus","@type":"Person","name":"irufus"},"datePublished":"2018-05-24T16:03:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/15/JShellBot/issues/15"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:19424f24-5713-b440-d930-69c1524f60ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BBF6:97796:272D584:364F8A2:6977A6C7 |
| html-safe-nonce | 51091a5e472a94340ad92cf28bbcfa59dc47c87c640181fa29a99f96743eee62 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQkY2Ojk3Nzk2OjI3MkQ1ODQ6MzY0RjhBMjo2OTc3QTZDNyIsInZpc2l0b3JfaWQiOiI3MTU0OTAwNzUyMTkwMTIxNjcxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e041540b12014ede474863c457c8713fbc77d1e7b7f9c3d12c41c9f0a31e3bf1 |
| hovercard-subject-tag | issue:326189132 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Together-Java/JShellBot/15/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08b7352303c5f09ba00edf5c48c68687c917db280cde16598eab6a6dd7eb49d5/Together-Java/JShellBot/issues/15 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08b7352303c5f09ba00edf5c48c68687c917db280cde16598eab6a6dd7eb49d5/Together-Java/JShellBot/issues/15 |
| og:image:alt | For example, you should be able to prevent calls like !jshell java.util.Arrays.toString(new java.io.File(".").listFiles()); OR !jshell java.util.Arrays.toString(new java.io.File("/home/").listFiles... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | irufus |
| hostname | github.com |
| expected-hostname | github.com |
| None | e8b91803a5fc7ac066710509c57c636dab6ed4620bd9213b470a4617c79989c9 |
| turbo-cache-control | no-preview |
| go-import | github.com/Together-Java/JShellBot git https://github.com/Together-Java/JShellBot.git |
| octolytics-dimension-user_id | 37227578 |
| octolytics-dimension-user_login | Together-Java |
| octolytics-dimension-repository_id | 124596281 |
| octolytics-dimension-repository_nwo | Together-Java/JShellBot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 124596281 |
| octolytics-dimension-repository_network_root_nwo | Together-Java/JShellBot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9b4562e3c5c60b38349a7d80ec8e160c11fe84b6 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width