Interactive tool for creating directed graphs, created using d3.js.
Demo: http://bl.ocks.org/cjrd/6863459
Operation:
- drag/scroll to translate/zoom the graph
| /*<?php | |
| //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s", | |
| //\u000A\u002F\u002A | |
| class PhpJava { | |
| function main() { | |
| echo(//\u000A\u002A\u002F | |
| "Hello World!"); | |
| }} | |
| //\u000A\u002F\u002A | |
| PhpJava::main(); |
| // tmux.c | |
| // compile using: cc -o tmux tmux.c | |
| // makeit setuid executable by: chmod +s tmux | |
| // also change owner to desired user: [sudo] chown {usernamehere} tmux | |
| // give it to guests' shell (passwd entry): guest::9999:99:guest user:/tmp:/opt/tmux | |
| // you can delete password with passwd -du {login} | |
| // allow empty passwords with PermitEmptyPasswords yes in sshd_config | |
| // update (18 aug 2016): added dynamic owner change, for security ofc :) |
Interactive tool for creating directed graphs, created using d3.js.
Demo: http://bl.ocks.org/cjrd/6863459
Operation:
| package computer; | |
| // Referenced classes of package computer: | |
| // KeyMapping | |
| public class AWTKeyMapping extends KeyMapping | |
| { | |
| public AWTKeyMapping() |
| private static Vector2 WorldToPixelCoords(Vector3 projectedPoint, Sprite sprite, Transform transform) | |
| { | |
| var textureRect = sprite.textureRect; | |
| var spriteBounds = sprite.bounds; | |
| var localPoint = transform.InverseTransformPoint(projectedPoint); | |
| localPoint.x = (localPoint.x - spriteBounds.min.x) / (spriteBounds.size.x); | |
| localPoint.y = (localPoint.y - spriteBounds.min.y) / (spriteBounds.size.y); |
| def Process.gsub pat, sub | |
| mem = File.open('/proc/self/mem', 'r+') | |
| maps = File.open('/proc/self/maps') | |
| maps.each do |map| | |
| from, to, perms, offset = map.scan(/(\h+)-(\h+) (\S+) (\h+)/)[0] | |
| if perms['rw'] | |
| from, to = [from, to].map { |addr| addr.hex + offset.hex } | |
| data = mem.tap { |m| m.seek from }.read(to - from) rescue next |
| // Written by Michael 'Searge' Stoyke in 03/2015 | |
| // Released as public domain, do whatever you want with it! | |
| using System; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Text; | |
| using Mono.CSharp; | |
| namespace GameLibrary { |
| #!/bin/bash | |
| url="$1" | |
| tag=`uuid` | |
| payload="() { :;};echo;echo $tag;exit" | |
| vulnerable=0 | |
| function shellshock () { | |
| header="$1" | |
| response=`curl --header "$header: $payload" --silent --insecure "$url"` |
| //Copyright (c) 2014 Tilman Schmidt (@KeyMaster_) | |
| //Permission is hereby granted, free of charge, to any person obtaining a copy | |
| //of this software and associated documentation files (the "Software"), to deal | |
| //in the Software without restriction, including without limitation the rights | |
| //to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| //copies of the Software, and to permit persons to whom the Software is | |
| //furnished to do so, subject to the following conditions: | |
| //The above copyright notice and this permission notice shall be included in |