Welcome! This page is using CodeRay 1.1.2.

We currently have 3063 rays in the database.
You can add a New Ray or browse the posted rays by pages.

Page 133, 10 entries

exploit-exercises 29 lines of C 460 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <stdio.h>

void winner()
{
  printf("that wasn't too bad now, was it? @ %d\n", time(NULL));
}

...
1st post 48 lines of Delphi by artem.larin 1.36 KB Show Edit Expand
1
2
3
4
5
6
7
8
9
 var
  MainForm: TMainForm;

implementation

{$R *.dfm}

function TzSpecificLocalTimeToSystemTime(lpTimeZoneInformation: PTimeZoneInformation;
  var lpLocalTime, lpUniversalTime: TSystemTim...
Simple Test 1 line of Ruby by damien 353 Bytes Show Edit Expand
1
{:body=>{"addressesSet"=>[{"publicIp"=>"54.232.81.50", "domain"=>"standard", "instanceId"=>"i-f0744fec"}], "requestId"=>"479fbb6e-428b-422c-99ae-e9caeced8ff6"}, :headers=>{"Content-Type"=>"text/xml...
x 11 lines of C 448 Bytes Show Edit Expand
1
2
3
4
5
HANDLE CreateRemoteThread(
  HANDLE hProcess,        // 新しいスレッドを稼働させるプロセスを識別するハンドル
  LPSECURITY_ATTRIBUTES lpThreadAttributes,
                            // スレッドのセキュリティ属性へのポインタ
  DWORD dwStack...
testc 15 lines of C by KinmenHackerFromTaiwan 318 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
10
11
#include <stdlib.h>
  #include <stdio.h>

  #define N 10000

  void main(int argc, char *argv){
    int i, j, a[N];
    for(i = 2; i < N; i++) a[i] = 1;
    for(i = 2; i < N; i++)
    if(a[i])
    ...
phpinfo 1 line of PHP 10 Bytes Show Edit Expand
1
phpinfo();
String#[] 26 lines of Ruby 718 Bytes Show Edit Expand
1
2
3
4
5
6
7
8
9
a = "hello there"

a[1]                   #=> "e"
a[2, 3]                #=> "llo"
a[2..3]                #=> "ll"

a[-3, 2]               #=> "er"
a[7..-2]               #=> "her"
a[-4..-2...
55 1 line of Python 18 Bytes Show Edit Expand
1
adduser {username}
XML 7 lines of XML 210 Bytes Show Edit Expand
1
2
3
4
5
6
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="a.debug"
    android:versionCode="1"
    android:versionName="1.0.0" >
...
abcd 1 line of Java 9 Bytes Show Edit Expand
1
asdasdasd

Page 133, 10 entries