This repository has been archived by the owner on Sep 5, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMANUAL.html
766 lines (760 loc) · 71 KB
/
MANUAL.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
<!DOCTYPE html>
<html>
<head>
<title>PHPSandbox Manual</title>
<link href="http://code.jquery.com/ui/1.10.1/themes/smoothness/jquery-ui.css" type="text/css" rel="stylesheet"/>
<script src="http://code.jquery.com/jquery-1.9.1.js" type="text/javascript" charset="utf-8"></script>
<script src="http://code.jquery.com/ui/1.10.1/jquery-ui.js" type="text/javascript" charset="utf-8"></script><style type="text/css" media="screen">
body {
margin: 0;
font-family: "Trebuchet MS", sans, sans-serif;
font-size: 12px;
}
em {
color: blue;
font-weight: bold;
}
em.method a {
color: green;
}
hr {
border: 1px solid transparent;
border-top: 1px dashed gray;
}
</style>
</head>
<body>
<div style="height: 540px;" id="body_div">
<div id="help_topics">
<h3>1 - About PHPSandbox & PHPSandbox Toolkit</h3>
<div>
<div align="center">
<a href="https://github.com/fieryprophet/php-sandbox" target="_blank">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQYAAAAyCAYAAAC+qXUzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAP2JJREFUeNrsvQmQXdd5HnjO3e/be1+BbjQAghsIiBSoxaRk7bZlSrIsJ7LkjJ1YyTiTmqqkKqnUVFJTM1UzU5NxKjU1lXGSSpyRl1iyZImSTImkSJESKYoACRAg9rX3Rne/16/ffvd7zvz/ue++flsTgKKpiZQ+rMduvL733LP9///961UYYwQbpXQKfjwOHxk+nNx927Zt+xTcb/X7I+dRV41GQ3zgOvEdfsIwJJ7nEdd1xWdycpLIstz6ezy2fg2vX1lZEX1gw/sOHz7cuj9+9jv1gc9eWFggQ0NDZGxsTHyH18f330uL7/N9X/QLayJ+ZjIZkk6nxd8lSWp9mmves07x7/jB6+LfNzc3SalUat0b359MJltrGs+9/b64BUEgfuJ64RjxU6vVyNbWFjl+/DjRNE2MEb/vN3/8m2VZJJFIEMMwOvYxXud4L3BvsJ9qtUoKhYL4t6qqYn/wJ34URRHjbF+DbDYr1qt7z95pH/Fva2trok88P++0h/isfD5PisViax3xOrxX13WxRjjWeP9w/DgPXNeDBw+21hd/4gf7a//Ez477jdcD+8DvsX/HccQH+z906JBYh3gt4z2K78e/nThxorWf99hU6Pc98BMXJbzLe3ASNsz7vCIOEgwMJvHo17/97O+vrucziizf1Sh8mMijR++/uH9iZM31vOu7EUz7Ydpre22v3V1DxlKpVMjAwMA9MwagtYHtjaVPLV86+T5gLCyi+XdunDOq6MmSPnr4y4qQZMD9gKsZ/+bLXz/2xsVb06ah39XDEQH8/mc/7Hz+0x9T6pbdd2K7SYG9ttf22jsStmAGV65cIffffz8ZHBzsQBR3aoA29M2lq2NbZ77+xOhghtwNX+EsJFdLUsF4+Df/ShFwJ4I9LJVKuIODA8TQ744xmLpKMulkMQjDHq6Ak0CmMDMz89NCob221/6rZw4oUK9evSrUsHthDpKiy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RRjGhagF+2f1qiRhtEjBr6JR/ttb2210irGhhWGb8bRA/0uH7Wtr/27Kv8x5zfZdwW1scl1AemcDFGKHRPWu+1vbbXehjS3hLstb2217rb/yvAAOPaE/C56ZAdAAAAAElFTkSuQmCC" alt="PHPSandbox" style="border: 0;">
</a>
<br/>
<h1 style="margin: 0;">
PHPSandbox Toolkit 1.3.11
</h1>
<br/>
<strong>Developed by: </strong> <a href="http://www.fieryprophet.com" target="_blank">Elijah Horton</a>
—
<a href="https://github.com/fieryprophet/php-sandbox" target="_blank">Github</a>
</div>
<p>PHPSandbox is a PHP 5.3.2+ class designed to implement tightly-controlled and highly configurable code
sandboxes in pure PHP code.
It utilizes the <a href="https://github.com/nikic/PHP-Parser" target="_blank">PHPParser</a> and
<a href="https://github.com/jeremeamia/FunctionParser" target="_blank">FunctionParser</a>
libraries to parse the sandboxed code for violations of the sandbox configuration and to disassemble
closures passed to the sandbox.</p>
<p>The PHPSandbox Toolkit is used to demonstrate the use of the PHPSandbox class, its various configuration
options, creation of custom templates and for easy experimentation. The JSON templates it generates
can also be imported directly into a PHPSandbox instance to allow for easy sharing of common configurations.</p>
<p>The PHPSandbox project is licensed under the open source BSD License. Click the "PHPSandbox License" tab below or
see the LICENSE file that came with your distribution for more information.</p>
<p><strong>Click the "Using PHPSandbox" tab below to continue.</strong></p>
</div>
<h3>2 - Using PHPSandbox</h3>
<div>
<h3>Including PHPSandbox</h3>
<p>If you have downloaded PHPSandbox through composer, then the only thing you need to do to include all required
PHPSandbox classes is: </p>
<pre>require_once('vendor/autoload.php');</pre>
<p> If you have a PSR-0 compliant autoloader, simply put the PHPSandbox folder under /src in your library folder
and it will handle loading all PHPSandbox files for you. Otherwise, you must include all PHPSandbox files and
its dependencies yourself.</p>
<h3>Instantiating A PHPSandbox Instance</h3>
<p>You have two methods of instantiating a PHPSandbox instance: the new keyword, or the static method PHPSandbox::create();</p>
<strong>New Keyword</strong>
<pre>$sandbox = new \PHPSandbox\PHPSandbox();</pre>
<strong>Static Method</strong>
<pre>$sandbox = \PHPSandbox\PHPSandbox::create();</pre>
<p>You can pass the following array arguments to either method to setup the sandbox:</p>
<ul>
<li><strong>$options</strong> — This is equivalent to using the <em class="method">set_options()</em> method.</li>
<li><strong>$functions</strong> — This is equivalent to using the <em class="method">define_funcs()</em> method.</li>
<li><strong>$variables</strong> — This is equivalent to using the <em class="method">define_vars()</em> method.</li>
<li><strong>$constants</strong> — This is equivalent to using the <em class="method">define_consts()</em> method.</li>
<li><strong>$namespaces</strong> — This is equivalent to using the <em class="method">define_namespaces()</em> method.</li>
<li><strong>$aliases</strong> — This is equivalent to using the <em class="method">define_aliases()</em> method.</li>
<li><strong>$superglobals</strong> — This is equivalent to using the <em class="method">define_superglobals()</em> method.</li>
<li><strong>$magic_constants</strong> — This is equivalent to using the <em class="method">define_magic_consts()</em> method.</li>
<li><strong>$classes</strong> — This is equivalent to using the <em class="method">define_classes()</em> method.</li>
<li><strong>$interfaces</strong> — This is equivalent to using the <em class="method">define_interfaces()</em> method.</li>
<li><strong>$traits</strong> — This is equivalent to using the <em class="method">define_traits()</em> method.</li>
</ul>
<strong>Examples:</strong>
<pre>$sandbox = new \PHPSandbox\PHPSandbox($options,
$functions,
$variables,
$constants,
$namespaces,
$aliases,
$superglobals,
$magic_constants,
$classes,
$interfaces,
$traits);</pre>
<pre>$sandbox = \PHPSandbox\PHPSandbox::create($options,
$functions,
$variables,
$constants,
$namespaces,
$aliases,
$superglobals,
$magic_constants,
$classes,
$interfaces,
$traits);</pre>
<p><strong>Click the "Configuring PHPSandbox" tab below to continue.</strong></p>
</div>
<h3>3 - Configuring PHPSandbox</h3>
<div>
<p>You have four main areas of configuration available in PHPSandbox: <strong>Options</strong>,
<strong>Whitelists</strong>, <strong>Blacklists</strong> and <strong>Definitions.</strong></p>
<h3>Options</h3>
<p>Options are configured in the PHPSandbox class by accessing
the flag's public instance property (e.g. <em>$sandbox->allow_functions = true;</em> ) or through the <em class="method">set_option()</em>
and <em class="method">set_options()</em> instance methods.</p>
<strong>Example:</strong>
<pre>$sandbox->set_option('allow_functions', false);</pre>
<h4>Option Descriptions</h4>
<ul>
<li>
<strong>Validate Functions: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate functions within the sandboxed code. If this flag is
disabled then all function validation, including custom function validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Variables: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate variables within the sandboxed code. If this flag is
disabled then all variable validation, including custom variable validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Globals: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate globals within the sandboxed code. If this flag is
disabled then all global validation, including custom global validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Superglobals: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate superglobals within the sandboxed code. If this flag is
disabled then all superglobal validation, including custom superglobal validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Constants: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate constants within the sandboxed code. If this flag is
disabled then all constant validation, including custom constant validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Magic Constants: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate magic constants within the sandboxed code. If this flag is
disabled then all magic constant validation, including custom magic constant validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Namespaces: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate namespaces within the sandboxed code. If this flag is
disabled then all namespace validation, including custom namespace validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Aliases (aka Use): </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate aliases within the sandboxed code. If this flag is
disabled then all alias validation, including custom alias validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Classes: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate classes within the sandboxed code. If this flag is
disabled then all class validation, including custom class validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Interfaces: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate interfaces within the sandboxed code. If this flag is
disabled then all interface validation, including custom interface validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Traits: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate traits within the sandboxed code. If this flag is
disabled then all trait validation, including custom trait validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Keywords: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate keywords within the sandboxed code. If this flag is
disabled then all keyword validation, including custom keyword validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Operators: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate operators within the sandboxed code. If this flag is
disabled then all operator validation, including custom operator validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Primitives: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate primitives within the sandboxed code. If this flag is
disabled then all primitive validation, including custom primitive validation, will be ignored.
<hr/>
</li>
<li>
<strong>Validate Types: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will validate types within the sandboxed code. If this flag is
disabled then all type validation, including custom type validation, will be ignored.
<hr/>
</li>
<li>
<strong>Error Level: </strong> — Default Value: <em>null</em>
<br/>
If this option is set then sandbox will set the error level to this value before executing the sandboxed code.
<hr/>
</li>
<li>
<strong>Restore Error Level: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will restore the error level after the sandboxed code has executed.
<hr/>
</li>
<li>
<strong>Convert Errors: </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will convert errors to exceptions during execution of the sandboxed code.
<hr/>
</li>
<li>
<strong>Capture Output: </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will return all output generated by the executed code.
<hr/>
</li>
<li>
<strong>Auto Whitelist Trusted Code: </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically whitelist all functions, variables (if the
<strong>allow variables</strong> flag is false and blacklisted variables have not been defined,
unnecessary otherwise), constants, classes, interfaces, traits, namespaces, alias (or uses), and
types defined, declared or executed in prepended and appended trusted code.
<br/>
<strong>NOTE:</strong> Because whitelists take precedence over blacklists, any blacklist type
defined whose type was automatically whitelisted will have no effect.
<hr/>
</li>
<li>
<strong>Auto Whitelist Functions </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically whitelist all functions defined by the sandboxed
code if the <strong>allow functions</strong> flag is set. This will prevent exceptions being thrown
if your sandboxed code attempts to use functions it has defined earlier in its execution scope.
<hr/>
</li>
<li>
<strong>Auto Whitelist Constants </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically whitelist all constants defined by the sandboxed
code if the <strong>allow constants</strong> flag is set. This will prevent exceptions being thrown
if your sandboxed code attempts to use constants it has defined earlier in its execution scope.
<hr/>
</li>
<li>
<strong>Auto Whitelist Globals </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically whitelist all globals defined by the sandboxed
code if the <strong>allow globals</strong> flag is set. This will prevent exceptions being thrown
if your sandboxed code attempts to use globals it has defined earlier in its execution scope.
<hr/>
</li>
<li>
<strong>Auto Whitelist Classes </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically whitelist all classes defined by the sandboxed
code if the <strong>allow classes</strong> flag is set. This will prevent exceptions being thrown
if your sandboxed code attempts to use classes it has defined earlier in its execution scope.
<hr/>
</li>
<li>
<strong>Auto Whitelist Interfaces </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically
whitelist all interfaces defined by the sandboxed code if the <strong>allow interfaces</strong> flag is
set. This will prevent exceptions being thrown if your sandboxed code attempts to use interfaces it
has defined earlier in its execution scope.
<hr/>
</li>
<li>
<strong>Auto Whitelist Traits </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically whitelist all traits defined by the sandboxed
code if the <strong>allow traits</strong> flag is set. This will prevent exceptions being thrown
if your sandboxed code attempts to use traits it has defined earlier in its execution scope.
<hr/>
</li>
<li>
<strong>Auto Define Variables </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will automatically define arguments passed via prepended, appended
and sandboxed code closures, so these variables will be available to the sandboxed code scope.
<hr/>
</li>
<li>
<strong>Overwrite Defined Functions </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will overwrite PHP's internal <em>get_defined_functions</em>,
<em>get_defined_vars</em>, <em>get_defined_constants</em>, <em>get_declared_classes</em>,
<em>get_declared_interfaces</em>, and <em>get_declared_traits</em> functions so they report only
values available to the sandboxed scope.
<br/>
<strong>NOTE: </strong> If you define your own functions for <em>get_defined_functions</em>,
<em>get_defined_vars</em>, <em>get_defined_constants</em>, <em>get_declared_classes</em>,
<em>get_declared_interfaces</em>, or <em>get_declared_traits</em>, the PHPSandbox instance will call
them instead.
<hr/>
</li>
<li>
<strong>Overwrite Func_Get_Args </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will overwrite PHP's internal <em>func_get_args</em>, <em>func_get_arg</em>,
and <em>func_num_args</em> so they report only arguments available to the sandboxed scope.
<br/>
<strong>NOTE: </strong> If you define your own functions for <em>func_get_args</em>, <em>func_get_arg</em>,
or <em>func_num_args</em> the PHPSandbox instance will call them instead.
<hr/>
</li>
<li>
<strong>Allow Functions </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to declare functions via the
<em>function</em> keyword.
<br/>
<strong>NOTE:</strong> The <em>function</em> keyword is still subject to the <em>keyword</em> whitelist and
blacklist!
<hr/>
</li>
<li>
<strong>Allow Closures </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to create closures.
<hr/>
</li>
<li>
<strong>Allow Variables </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to create variables.
<hr/>
</li>
<li>
<strong>Allow Static Variables </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to create static variables.
<hr/>
</li>
<li>
<strong>Allow Objects </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to objects via the <em>new</em>
keyword.
<br/>
<strong>NOTE:</strong> Object creation is still subject to <em>type</em> whitelists and
blacklists, and the <em>new</em> keyword is still subject to the <em>keyword</em> whitelist and
blacklist!
<hr/>
</li>
<li>
<strong>Allow Constants </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to define constants.
<hr/>
</li>
<li>
<strong>Allow Globals </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to define globals via the <em>global</em>
keyword.
<br/>
<strong>NOTE:</strong> The <em>global</em> keyword is still subject to the <em>keyword</em> whitelist and
blacklist!
<hr/>
</li>
<li>
<strong>Allow Namespaces </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to define namespaces.
<br/>
<strong>NOTE:</strong> Namespaces are defined outside the sandboxed code scope, and the
<em>namespace</em> keyword is still subject to the <em>keyword</em> whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Aliases (aka Use) </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to define aliases (aka use.)
<br/>
<strong>NOTE:</strong> Aliases (aka use) are defined outside the sandboxed code scope, and the
<em>use</em> keyword is still subject to the <em>keyword</em> whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Classes </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to declare classes.
<br/>
<strong>NOTE:</strong> The <em>class</em> keyword is still subject to the <em>keyword</em>
whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Interfaces </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to declare interfaces.
<br/>
<strong>NOTE:</strong> The <em>interface</em> keyword is still subject to the <em>keyword</em>
whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Traits </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to declare traits.
<br/>
<strong>NOTE:</strong> The <em>trait</em> keyword is still subject to the <em>keyword</em>
whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Generators </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to create generators.
<br/>
<strong>NOTE:</strong> The <em>yield</em> keyword is still subject to the <em>keyword</em>
whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Escaping </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to escape to HTML.
<hr/>
</li>
<li>
<strong>Allow Casting </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to cast variables to primitive types.
<br/>
<strong>NOTE:</strong> The casted primitive type is still subject to the <em>primitive</em>
whitelist and blacklist!
<hr/>
</li>
<li>
<strong>Allow Error Suppressing </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to suppress errors via the @ prefix.
<hr/>
</li>
<li>
<strong>Allow References </strong> — Default Value: <em>true</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to assign by reference, and to
define functions that return by reference if the <strong>allow functions</strong> flag is set.
<hr/>
</li>
<li>
<strong>Allow Backticks </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to shell execute strings quoted in
backticks.
<strong>NOTE:</strong> This requires the <em>shell_exec</em> to be either defined or allowed according
to the <em>function</em> whitelist and blacklist! If <em>shell_exec</em> is a defined function
then backticked strings will be passed to that function instead for execution.
<hr/>
</li>
<li>
<strong>Allow Halting </strong> — Default Value: <em>false</em>
<br/>
If this flag is set the sandbox will allow the sandboxed code to halt the PHP compiler.
<br/>
<strong>NOTE:</strong> The <em>__halt_compiler</em> keyword is still subject to the <em>keyword</em>
whitelist and blacklist!
</li>
</ul>
<h3>Whitelists & Blacklists</h3>
<p>By default, an exception is thrown if any function, variable, global, superglobal, constant, magic constant,
namespace, alias (aka use), class, interface, or type is executed in sandboxed code without being either
defined or whitelisted, or if it has been blacklisted.</p>
<p>Keywords other than <em>eval</em>, <em>die</em>, <em>exit</em>, <em>include</em>, <em>require</em>,
<em>include_once</em>, <em>require_once</em>, and <em>__halt_compiler</em>, are allowed even if they are
not whitelisted as long as they are not in the blacklist and a keyword whitelist hasn't been defined.</p>
<p>Operators and primitives are allowed even if they are not whitelisted as long as they are not in the blacklist
and a whitelist hasn't been defined.</p>
<h4>Whitelist & Blacklist Precedence</h4>
<p>Whitelists override their blacklist counterpart, therefore if a whitelist of functions has been defined
and also a blacklist of functions, the blacklist will have no effect. Furthermore, definitions override both
whitelists and blacklists, so that a defined function will always be allowed even if that function is not
defined in a function whitelist or is in a function blacklist.</p>
<p>Whitelists are configured in the PHPSandbox class through the <em class="method">whitelist()</em>,
<em class="method">whitelist_func()</em>, <em class="method">whitelist_var()</em>, etc. instance methods.</p>
<p>Detailed explanations of the whitelist instance methods can be found in the
<a href="docs/classes/PHPSandbox.PHPSandbox.html#method_whitelist_func" target="_blank">API documentation.</a></p>
<p>Blacklists are configured in the PHPSandbox class through the <em class="method">blacklist()</em>,
<em class="method">blacklist_func()</em>, <em class="method">blacklist_var()</em>, etc. instance methods.</p>
<p>Detailed explanations of the blacklist instance methods can be found in the
<a href="docs/classes/PHPSandbox.PHPSandbox.html#method_blacklist_func" target="_blank">API documentation.</a></p>
<h3>Definitions</h3>
<p>Definitions are configured in the PHPSandbox class through the <em class="method">define()</em>,
<em class="method">define_func()</em>, <em class="method">define_var()</em>, etc. instance methods. They
are fully trusted, and override any respective whitelist or blacklist.</p>
<p>Detailed explanations of the definition instance methods can be found in the
<a href="docs/classes/PHPSandbox.PHPSandbox.html#method_define_func" target="_blank">API documentation.</a></p>
<h3>Custom Validators</h3>
<p>Custom validators are configured in the PHPSandbox class through the <em class="method">set_validator()</em>,
<em class="method">set_func_validator()</em>, <em class="method">set_var_validator()</em>, etc. instance methods. They
are passed the name of the element and the PHPSandbox instance as arguments, and override any respective whitelist or blacklist.</p>
<p>Detailed explanations of the custom validator instance methods can be found in the
<a href="docs/classes/PHPSandbox.PHPSandbox.html#set_validator" target="_blank">API documentation.</a></p>
<p><strong>Click the "Using PHPSandbox Toolkit" tab to continue.</strong></p>
</div>
<h3>4 - Using PHPSandbox Toolkit</h3>
<div>
<p><strong>WARNING: The PHPSandbox toolkit is NOT DESIGNED to be used on a publicly accessible server! It is for
<em>local</em> testing in a private environment only! Use of The PHPSandbox toolkit on a public-facing server
will likely lead to the rooting of your server!</strong></p>
<hr/>
<h3>The Toolbar</h3>
<p>The far right of the toolkit screen is the toolbar. Links to the API documentation and this help
dialog can be found here. This is also where sandbox templates, stored in the <em>/toolkit/templates/</em>
folder, can be selected and automatically loaded in the toolkit environment to test, or templates can
be imported from your local filesystem.</p>
<p>More importantly, this is where the various sandbox configuration options can be selected, whitelists
and blacklists can be enabled, and definitions for functions, superglobals, etc. can be defined. Click the
"Configuring PHPSandbox Toolkit" tab below for more information.</p>
<p>Finally, the error level for the code to be executed can be set, and clicking "Run Code In Sandbox"
will execute the toolkit environment and output the response.</p>
<h3>The Code Editor</h3>
<p>The top left of the toolkit screen is the code editor, which can be set to four possible modes via the
<strong>Editor Mode</strong> menu above the code editor. These modes are:</p>
<ul>
<li>
<strong>Sandboxed Code</strong> — Code entered in this mode will be run within the sandbox
environment, and will be subject to all validation checks determined by the sandbox configuration.
</li>
<li>
<strong>Setup Code</strong> — This is a special mode that allows the toolkit to run trusted
code outside the sandbox, in the global scope of the script. This will allow for testing the sandbox
against globally scoped functions, variables, etc. it is <strong>NOT</strong> subject to any validation
checks, and <strong>can do anything a typical PHP script can!</strong>
</li>
<li>
<strong>Prepended Code</strong> — Code entered in this mode will be automatically trusted
by the sandboxed and will run before the sandboxed code runs, in the same execution scope as the
sandbox. If auto_whitelist is not enabled you will likely run into validation errors if the sandboxed
code attempts to use classes or functions declared by this code.
</li>
<li>
<strong>Appended Code</strong> — Code entered in this mode is treated exactly the same as
prepended code except it is run after the sandboxed code runs, and in the same execution scope.
</li>
</ul>
<h3>The Output Box</h3>
<p>When "Run Code In Sandbox" is clicked, any execution output is sent to this box, including error messages,
uncaught exceptions and echoed output. Any values returned by the sandbox via the <em>return</em> keyword
will also be shown as a <em>var_dump()</em> output in a line underneath the echoed output.</p>
<p>Finally, a line will be shown at the end of the output showing the amount of milliseconds spent preparing
and executing the sandbox as well as the total time spent.</p>
<p><strong>Click the "Using Templates" tab below to continue.</strong></p>
</div>
<h3>5 - Configuring PHPSandbox Toolkit</h3>
<div>
<p>In the toolbar on the right side of the screen is a set of tabs that allow you to define all four areas of
configuration for your sandbox.</p>
<h3>Options</h3>
<p>This tab shows a list of checkboxes correlating with the configuration options available in the PHPSandbox class.
When a checkbox is checked its corresponding flag will be enabled, when unchecked its corresponding flag will be disabled.</p>
<h3>Whitelists & Blacklists</h3>
<p>This tab shows a dropdown menu of the type and a text input of the name of the item to add.
As you type the name of the item to add an alert tooltip will show if the name you are typing is invalid
for the selected type. Click the "+" button next to the text input to add the item
to your whitelist or blacklist. You can then click on an item to remove it from the whitelist or blacklist.</p>
<p><strong>NOTE: </strong>Whitelists will override their blacklist counterparts! (e.g. if you
define a whitelisted function then the function blacklist will have no effect.)</p>
<h4>Whitelist & Blacklist Types</h4>
<ul>
<li><strong>Functions:</strong> The names of the functions (must be fully qualified if namespace is not defined) to whitelist or blackist.</li>
<li><strong>Variables:</strong> The names of the variables (without the $ prefix) to whitelist or blackist.</li>
<li><strong>Globals:</strong> The names of the globals (without the $ prefix) to whitelist or blackist.</li>
<li><strong>Superglobals:</strong> The names of the superglobals (without the $ prefix) to whitelist or blackist.</li>
<li><strong>Constants:</strong> The names of the constants to whitelist or blackist.</li>
<li><strong>Magic Constants:</strong> The names of the magic constants to whitelist or blackist.</li>
<li><strong>Namespaces:</strong> The names of the namespaces to whitelist or blackist.</li>
<li><strong>Aliases (aka Use):</strong> The names of the namespace aliases (aka uses) to whitelist or blackist.</li>
<li><strong>Classes:</strong> The names of the classes to whitelist or blackist.</li>
<li><strong>Interfaces:</strong> The names of the interfaces to whitelist or blackist.</li>
<li><strong>Traits:</strong> The names of the traits to whitelist or blackist.</li>
<li><strong>Classes:</strong> The names of the classes to whitelist or blackist.</li>
<li><strong>Keywords:</strong> The keywords to whitelist or blackist.</li>
<li><strong>Operators:</strong> The operators to whitelist or blackist.</li>
<li><strong>Primitives:</strong> The names of the primitives to whitelist or blackist.</li>
<li><strong>Types:</strong> The names of the object types to whitelist or blackist.</li>
</ul>
<h3>Definitions</h3>
<p>This tab shows a dropdown menu of the definition type. Click the "Define" button next to the dropdown
menu to open the selected definition editor.</p>
<p><strong>NOTE: </strong> Definitions are fully trusted, and override their whitelist and blacklist counterparts!</p>
<h4>Definition Editors</h4>
<p>Each of the definition editors open in their own window, and will show you a preview of what their
result will be in your sandboxed code.</p>
<ul>
<li><strong>Function Editor:</strong>
<p>In this editor you will be able to specify the name of your defined function, a checkbox that
indicates whether to pass the PHPSandbox instance as the first argument, a text field in which
you can describe the arguments of your function, and a code editor in which to write your
defined function code. If this code is malformed the execution of your sandbox will fail.</p>
</li>
<li><strong>Variable Editor:</strong>
<p>In this editor you will be able to specify the name of your defined variable, the variable
scalar value type, and the variable value.</p>
</li>
<li><strong>Superglobal Editor:</strong>
<p>In this editor you will be able to specify the name of your defined superglobal, the superglobal
key to set, the superglobal scalar value type, and the superglobal value.</p>
<p><strong>NOTE: </strong> You are able to define a callable function as the value of superglobal
when configuring the PHPSandbox class from PHP through the <em class="method">define_superglobal()</em> instance method. It
will be passed the PHPSandbox instance as the first argument, and is fully trusted.</p>
</li>
<li><strong>Constant Editor:</strong>
<p>In this editor you will be able to specify the name of your defined constant, the constant
scalar value type, and the constant value.</p>
</li>
<li><strong>Magic Constant Editor:</strong>
<p>In this editor you will be able to specify the name of your defined magic constant, the
magic constant scalar value type, and the magic constant value.</p>
<p><strong>NOTE: </strong> You are able to define a callable function as the value of magic constant
when configuring the PHPSandbox class from PHP through the <em class="method">define_magic_const()</em> instance method.
It will be passed the PHPSandbox instance as the first argument, and is fully trusted.</p>
</li>
<li><strong>Namespace Editor:</strong>
<p>In this editor you will be able to specify the name of your defined namespace.</p>
</li>
<li><strong>Alias (aka Use) Editor:</strong>
<p>In this editor you will be able to specify the name of your defined namespace to use, and
the alias to use. If alias is left blank the namespace will not use an alias.</p>
</li>
<li><strong>Class Editor:</strong>
<p>In this editor you will be able to specify the name of the class to redefine, and
the class to redefine it to use.</p>
</li>
<li><strong>Interface Editor:</strong>
<p>In this editor you will be able to specify the name of the interface to redefine, and
the interface to redefine it to use.</p>
</li>
<li><strong>Trait Editor:</strong>
<p>In this editor you will be able to specify the name of the trait to redefine, and
the trait to redefine it to use.</p>
</li>
</ul>
<p><strong>Click the "Using PHPSandbox Templates" tab below to continue.</strong></p>
</div>
<h3>6 - Using PHPSandbox Templates</h3>
<div>
<p>The PHPSandbox toolkit comes with a special template feature that allows for you to open and save templates in a
JSON format that the PHPSandbox class can easily import. This makes the sharing of sandboxed configurations
incredibly easy as well as making it simple to extend existing templates for your own uses.</p>
<h3>Loading Templates</h3>
<p>To load a template, simply select a template from the dropdown list of available templates in the
<em>/toolkit/templates/</em> folder, or click "Import A Template" to load one from your local filesystem.
Once a template is selected the toolkit environment will automatically load all the template options,
whitelists, blacklists, definitions, and all setup, trusted and sandboxed code in their respective modes.</p>
<h3>Saving Templates</h3>
<p>If you wish to save your current sandbox configuration, simply click the "Save As New Template" button.
You will be prompted for a name for your new template. Once you have named your template, you will be
alerted to the success or failure of the operation, and your template will be stored in the
<em>/toolkit/templates/</em> folder. Once your template is saved it automatically becomes available in the
dropdown templates menu for you to choose from. If you check the "Download Template?" checkbox you
will be prompted to download your template and save it in a location of your choosing instead of
saving it to the <em>/toolkit/templates/</em> folder.</p>
<h3>Importing Templates</h3>
<p>If you wish to import a JSON template into a PHPSandbox instance within PHP, simply call the <em class="method">import()</em>
instance method and either pass the JSON string or JSON array to the method. You may also specify a bitmask of
import options, by passing it as the second argument to the method.</p>
<strong>Example:</strong>
<pre>$sandbox->import(file_get_contents('template.json'));</pre>
<h4>Import Options</h4>
<p>These class constants are provided to simplify setting the bitmask option to pass to the <em class="method">import()</em> method.</p>
<ul>
<li><strong>PHPSandbox::IMPORT_ALL</strong> — Import everything from the template. This is the default setting.</li>
<li><strong>PHPSandbox::IMPORT_OPTIONS</strong> — Import the template options.</li>
<li><strong>PHPSandbox::IMPORT_DEFINITIONS</strong> — Import the template definitions.</li>
<li><strong>PHPSandbox::IMPORT_WHITELIST</strong> — Import the template whitelist.</li>
<li><strong>PHPSandbox::IMPORT_BLACKLIST</strong> — Import the template blacklist.</li>
<li><strong>PHPSandbox::IMPORT_TRUSTED_CODE</strong> — Import the template trusted prepended and appended code.</li>
<li><strong>PHPSandbox::IMPORT_CODE</strong> — Import the template sandboxed code.</li>
</ul>
<strong>Example:</strong>
<pre>$sandbox->import(file_get_contents('template.json'),
PHPSandbox\PHPSandbox::IMPORT_OPTIONS);</pre>
<p><strong>Click the "PHPSandbox License" tab below to continue.</strong></p>
</div>
<h3>7 - PHPSandbox License</h3>
<div>
<pre>Copyright (c) 2013-2014 by Elijah Horton (fieryprophet [at] yahoo.com)
Some rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* The names of the contributors may not be used to endorse or
promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</pre>
</div>
</div>
</div>
<p align="center" style="font-size: 10px;">
<strong>© Copyright 2013-2014 Elijah Horton</strong> — <a href="http://www.fieryprophet.com" target="_blank">fieryprophet.com</a>
</p>
<script>
$(function(){
$("#body_div").height($(window).height() - 40);
$("#help_topics").accordion({heightStyle: "fill"});
$("em.method").each(function(){
var em = $(this), content = em.html(), name = content.replace('()', '');
em.html('<a href="docs/classes/PHPSandbox.PHPSandbox.html#method_' + name + '" target="_blank">' + content + '</a>');
});
});
</script>
</body>
</html>