We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b75cd6f commit 23ad3aeCopy full SHA for 23ad3ae
example/index.php
@@ -0,0 +1,13 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+require_once $_GET['file'];
6
7
+shell_exec('ping ' . $_GET['host']);
8
9
+echo file_get_contents($_GET['file']);
10
11
+$url = "http://example.com";
12
13
+$hash = sha1($user->password);
example/phpcs.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:noNamespaceSchemaLocation="../vendor/squizlabs/php_codesniffer/phpcs.xsd">
+ <arg name="colors"/>
+ <arg name="extensions" value="php"/>
+ <file>.</file>
+ <rule ref="Security"/>
+</ruleset>
0 commit comments