Code review to simple RCE

<?
phpheader("Content-Type: application/json");
if( isset($_GET["query"]) ){
$query = $_GET["query"];
if( isset($_GET["customer"]) ) {
$customer = $_GET["customer"];
} else {
$customer = "default"…

--

--

--

Reformed Baptist Son Of A Shepard

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Functional Programming made easy in C# with Language-ext

Being A Successful Front End Web Developer In 2020

What is the Difference Between Hadoop and Spark?

Make Hogwarts Admission Form in HTML and CSS

7 Basic Algorithms Every Newbie Coder Should Know: Part 2

Embedded World 2020 : My Experience

AWS WAF — Know Your Enemy

JavaScript Portfolio Project — Flatiron School Retrospect

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jesse Clark

Jesse Clark

Reformed Baptist Son Of A Shepard

More from Medium

Local File Inclusion (LFI)Vulnerability

Log Poisoning to Remote Code Execution | LFI | cUrl|

Hacking Nginx: Best ways

PHP LFI — Sourceless Guessy Web (RCE Flag) — SEETF