Ubuntu 24.04 LTS, nearest region
2 GB RAM / 1 AMD CPU / 50 GB NVMe
| document.addEventListener('alpine:init', () => { | |
| Alpine.magic('form', el => () => { | |
| return Alpine.reactive({ | |
| processing: false, | |
| recentlySuccessful: false, | |
| errors: {}, | |
| submit() { | |
| return axios.post(el.action, el).then(response => { | |
| this.errors = {}; | |
| this.recentlySuccessful = true; |
| // Controller method... | |
| public function download() | |
| { | |
| return response()->streamDownload(function () { | |
| $token = config('services.cloudflare.api_token'); | |
| $accountId = config('services.cloudflare.account_id'); | |
| $cloudflareApi = 'https://api.cloudflare.com/client/v4'; | |
| echo Http::withToken($token) | |
| ->post($cloudflareApi.'/accounts/'.$accountId.'/browser-rendering/pdf', [ |
| Alpine.directive('typed', (el, { expression, modifiers }, { evaluateLater, effect, cleanup }) => { | |
| const getStrings = evaluateLater(expression); | |
| const modifierValue = (key, fallback) => { | |
| if (-1 === modifiers.indexOf(key)) { | |
| return fallback; | |
| } | |
| const value = modifiers[modifiers.indexOf(key) + 1]; | |
| <?php | |
| namespace App\Http\Livewire; | |
| use Illuminate\Support\Str; | |
| use Livewire\Component; | |
| class SignatureExample extends Component | |
| { | |
| public $signature; |
| PUSHER_HOST=socket.yourdomain.com | |
| PUSHER_APP_ID=unlock | |
| PUSHER_APP_KEY=123 | |
| PUSHER_APP_SECRET=456 | |
| PUSHER_PORT=443 | |
| PUSHER_SCHEME=https |
You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228
This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders
sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log| <?php | |
| namespace App\Providers; | |
| use App\Notifications\DatabaseChannel as CustomDatabaseChannel; | |
| use Illuminate\Notifications\Channels\DatabaseChannel; | |
| use Illuminate\Support\ServiceProvider; | |
| class AppServiceProvider extends ServiceProvider | |
| { |
| <?php | |
| /** | |
| * Laravel Passport - Customize Token response. | |
| * | |
| * @author Messi89 OVERGEN <@messi89minou> | |
| * @link https://github.com/messi89 | |
| */ | |
| namespace App\Http\Controllers\Api; | |
| use App\Models\User; |
| To make Pageant automatically run and load keys at startup: | |
| - Find the location of pageant.exe | |
| - Windows key + R to open the 'run' dialog box | |
| - Type: 'shell:startup' in the dialog box | |
| - Create a shortcut to the pageant.exe and put into this startup folder. |