作者 lyh

gx项目ip搜索

@@ -57,7 +57,7 @@ class Demo extends Command @@ -57,7 +57,7 @@ class Demo extends Command
57 'is_sitemap' => 1 57 'is_sitemap' => 1
58 ]; 58 ];
59 $shell = 'curl -X POST ' . escapeshellarg('www.baidu.com') . ' -H "Content-Type: application/json"' . 59 $shell = 'curl -X POST ' . escapeshellarg('www.baidu.com') . ' -H "Content-Type: application/json"' .
60 - ' -d "' . escapeshellarg(json_encode($param)) . '" > /dev/null 2>&1 &'; 60 + ' -d ' . escapeshellarg(json_encode($param)) . ' > /dev/null 2>&1 &';
61 // shell_exec($shell); 61 // shell_exec($shell);
62 echo $shell; 62 echo $shell;
63 die(); 63 die();