Skip to content

Instantly share code, notes, and snippets.

View Deca's full-sized avatar
🙈
Distraction level 94%

Deca

🙈
Distraction level 94%
  • Freelance
  • Italy
View GitHub Profile
cd hacked_website/public_html/
# scan with clamAV
clamscan -ir .
# find all files that use evil functions!
find . -type f -name '*.php' | xargs grep -l "eval *(" --color
find . -type f -name '*.php' | xargs grep -l "gzinflate *(" --color
# find all files with hex-crypted content (x29 = ")", x3B = ";") » this should be in any php code...
@Deca
Deca / Laravel on VestaCP.md
Created June 16, 2019 08:39 — forked from peterbrinck/Laravel on VestaCP.md
Laravel web templates for VestaCP

I've made a new web template to make Laravel work easily on VestaCP, and so I wouldn't have to change my Laravel installation, if I ever wanted to deploy it elsewhere.

Each file should be put in /usr/local/vesta/data/templates/web/apache2

Then, when you edit your domain/site, you can change the web template to Laravel and just upload your whole project into public_html

@Deca
Deca / install-choco-script.bat
Last active June 18, 2019 04:02 — forked from zaccb/install-choco-script.bat
Chocolatey install script
:: Install choco .exe and add choco to PATH
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
:: Install all the packages
:::: Browsers
choco install googlechrome -fy
choco install brave -fy
:::: Text editors / IDEs
choco install sublimetext3 -fy

Keybase proof

I hereby claim:

  • I am deca on github.
  • I am decagrog (https://keybase.io/decagrog) on keybase.
  • I have a public key ASDzS-_XyWRdJBf4oSKZJt6qM9hLc6ChaWZZlfmEJQtwGgo

To claim this, I am signing this object:

@Deca
Deca / index.html
Created February 10, 2021 13:31
Mockup accordion case studies
<div class="container">
<div class="accordion-option">
<h3 class="title">Protech2save</h3>
<a href="javascript:void(0)" class="toggle-accordion active" accordion-id="#accordion"></a>
</div>
<div class="clearfix"></div>
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">