The defuse.ca pastebin.
PHP JavaScript
Pull request Compare This branch is 7 commits ahead of defuse:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
PasswordGenerator.php
README.md
add.php
config.php
contact.htm
favicon.ico
index.php
pastebin.html
pastebin.php
robots.txt
view.php

README.md

Modified Defuse.ca's Pastebin

Database Table

desc pastes;

    +---------+-------------+------+-----+---------+-------+
    | Field   | Type        | Null | Key | Default | Extra |
    +---------+-------------+------+-----+---------+-------+
    | token   | varchar(70) | YES  |     | NULL    |       |
    | data    | text        | YES  |     | NULL    |       |
    | time    | int(11)     | YES  |     | NULL    |       |
    | jscrypt | text        | YES  |     | NULL    |       |
    +---------+-------------+------+-----+---------+-------+

Setup

mysql -p

CREATE DATABASE pastebin; CREATE TABLE pastes (token VARCHAR(70), data TEXT, time INTEGER, jscrypt TEXT);

TODO:

  • Pretty up the UI. pastebin.html hasn't really been touched
  • Burn after reading?