aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--about.html82
-rw-r--r--contact.php214
-rw-r--r--gallery/index.html51
-rw-r--r--gallery/index.html~45
-rw-r--r--gallery/ircnow.jpgbin0 -> 2669892 bytes
-rw-r--r--gallery/ircnowblue.jpgbin0 -> 3218362 bytes
-rw-r--r--index.php8
-rw-r--r--ip/index.php3
-rw-r--r--p/index.txt6
-rw-r--r--style.css52
10 files changed, 433 insertions, 28 deletions
diff --git a/about.html b/about.html
new file mode 100644
index 0000000..8616289
--- /dev/null
+++ b/about.html
@@ -0,0 +1,82 @@
+<!DOCTYPE html>
+<html lang="en" id="release"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+
+<title>KISSmo 1.0</title>
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<link rel="stylesheet" type="text/css" href="https://paste.oddprotocol.org/style.css">
+
+</head>
+<h2><i>KISS</i><b>mo</b></a>&nbsp;1.0 <a href="/">Home</a> | <a href="archive.php">Archive</a> | <a href="about.html">About</a> | <a href="./contact.php">Contact</a></h2>
+
+<table>
+<tbody><tr>
+<td>
+Released May 17, 2021. (1st KISSmo release)<br>
+Copyright 2021, init a.k.a monaco.<br>
+<ul>
+<li>To download KISSmo source visit our gitlab repositories&nbsp;<a href="https://gitlab.com/hedho/KISSmo" style="">Click here!</a>&nbsp;.
+</li><li>Keep it simple stupid (KISSmo paste).
+</li><li>KISSmo requires no database of anykind it is based on a flatfile paste system.</li></ul></td></tr></tbody></table><br>
+
+<hr>
+
+<section id="new">
+<h3>What's New</h3>
+<p>
+This is a partial list of new features included on KISSmo.
+
+</p><ul>
+
+<li>New/extended:
+ <ul>
+ <li>Added new/extended on KISSmo.
+ </li><li>Revision code of main index.php:
+ <ul>
+ <li>Support Nginx and OpenHTTPD it works on Apache aswell, soon will be added instructions how to for Apache aswel.<ul>
+ <li>Added new features on archive such as Search with previews and links.
+ </li><li>Duo to the new feature of search on archive we do recommended that you and nobody should contribute sensitive data to sites using KISSmo.</li><li>Added Nginx setup guide.
+ </li><li>Added OpenHTTPD setup guide.
+ </li><li>Added support for terminal browsers such as "lynx".
+ </li><li>Added mobile device support.
+ </li><li>Added new CSS.</li></ul></li></ul></li></ul></li></ul></section>
+
+<section id="install">
+<h3>Install</h3>
+<p>
+Please refer to the following links for download and help documents:
+
+</p><ul>
+<li>Gitlab.com Source Code</li></ul></section>
+
+<hr>
+
+<section id="upgrade">
+<h3>How to upgrade</h3>
+<p>Upgrade will not be painful as with other pieces of software you simply would need to replace 2 files index.php and archive.php for a new version, and add other features if another file has been added and would be explained why.
+</p></section>
+
+<hr>
+
+<section id="sourcecode">
+<h3>Nginx Config</h3>
+<p><code>Explain for howto make it work under systems running nginx.</code></p><blockquote><pre><pre class="code highlight" lang="plaintext"><b><span lang="plaintext" class="line" id="LC1"> location /p/ {</span>
+<span lang="plaintext" class="line" id="LC2"> alias /home/admin/web/paste.oddprotocol.org/public_html/p/;</span>
+<span lang="plaintext" class="line" id="LC3"> index index.txt;</span>
+<span lang="plaintext" class="line" id="LC4"> autoindex on;</span>
+<span lang="plaintext" class="line" id="LC5">}</span></b>
+</pre></pre></blockquote><blockquote><pre></pre></blockquote>
+<p>This configuration is needed to be added under nginx confing for that specific domain name that you're trying to run KISSmo.
+</p></section>
+
+<hr>
+
+<section id="ports">
+<h3>OpenHTTPD Config</h3>
+<p>
+AExplain howto make it work under system OpenBSD running OpenHTTPD:
+</p><blockquote><pre><pre class="code highlight" lang="plaintext"><b><span lang="plaintext" class="line" id="LC1"> location "/test/p/*" { </span>
+<span lang="plaintext" class="line" id="LC2"> directory { auto index, index "index.txt" }</span>
+<span lang="plaintext" class="line" id="LC3"> }</span></b>
+</pre></pre></blockquote>
+<p>[Under httpd.conf referring to the specific domain name configuration you would need to add the configuration above.]</p><p>init a.k.a monaco - (C) 2021</p></section>
+<span style="--colorFg:#dbdbdb; --colorFgAlpha:#dbdbdb1a; --colorFgIntense:#ffffff; --colorFgFaded:#d0d0d0; --colorFgFadedMore:#c5c5c5; --colorFgFadedMost:#acacac; --colorBg:#2f2f2f; --colorBgAlpha:#2f2f2fe6; --colorBgAlphaHeavy:#2f2f2fa6; --colorBgAlphaHeavier:#2f2f2f40; --colorBgAlphaBlur:#2f2f2ff2; --colorBgDark:#292929; --colorBgDarker:#242424; --colorBgLight:#333333; --colorBgLighter:#434343; --colorBgLightIntense:#373737; --colorBgIntense:#242424; --colorBgIntenser:#1c1c1c; --colorBgIntserAlpha:#191919eb; --colorBgInverse:#333333; --colorBgInverser:#3f3f3f; --colorBgFaded:#3b3b3b; --backgroundBlur:blur(10px); --colorHighlightBg:#579c8e; --colorHighlightBgUnfocused:#454545; --colorHighlightBgAlpha:#579c8e1a; --colorHighlightBgDark:#3f8477; --colorHighlightFg:#ffffff; --colorHighlightFgAlpha:#ffffff80; --colorHighlightFgAlphaHeavy:#ffffff40; --colorAccentBg:#404040; --colorAccentBgAlpha:#74747466; --colorAccentBgAlphaHeavy:#74747440; --colorAccentBgDark:#303030; --colorAccentBgDarker:#1a1a1a; --colorAccentBgFaded:#343434; --colorAccentBgFadedMore:#555555; --colorAccentBgFadedMost:#747474; --colorAccentBorder:#303030; --colorAccentBorderDark:#262626; --colorAccentFg:#ffffff; --colorAccentFgFaded:#cacaca; --colorAccentFgAlpha:#ffffff40; --colorBorder:#1c1c1c; --colorBorderDisabled:#242424; --colorBorderSubtle:#222222; --colorBorderIntense:#0c0c0c; --colorSuccessBg:#06a700; --colorSuccessBgAlpha:#06a7001a; --colorSuccessFg:#ffffff; --colorWarningBg:#efaf00; --colorWarningBgAlpha:#efaf001a; --colorWarningFg:#000000; --colorErrorBg:#c64539; --colorErrorBgAlpha:#c645391a; --colorErrorFg:#ffffff;"></span></body><span style="--colorFg:#dbdbdb; --colorFgAlpha:#dbdbdb1a; --colorFgIntense:#ffffff; --colorFgFaded:#d0d0d0; --colorFgFadedMore:#c5c5c5; --colorFgFadedMost:#acacac; --colorBg:#2f2f2f; --colorBgAlpha:#2f2f2fe6; --colorBgAlphaHeavy:#2f2f2fa6; --colorBgAlphaHeavier:#2f2f2f40; --colorBgAlphaBlur:#2f2f2ff2; --colorBgDark:#292929; --colorBgDarker:#242424; --colorBgLight:#333333; --colorBgLighter:#434343; --colorBgLightIntense:#373737; --colorBgIntense:#242424; --colorBgIntenser:#1c1c1c; --colorBgIntserAlpha:#191919eb; --colorBgInverse:#333333; --colorBgInverser:#3f3f3f; --colorBgFaded:#3b3b3b; --backgroundBlur:blur(10px); --colorHighlightBg:#579c8e; --colorHighlightBgUnfocused:#454545; --colorHighlightBgAlpha:#579c8e1a; --colorHighlightBgDark:#3f8477; --colorHighlightFg:#ffffff; --colorHighlightFgAlpha:#ffffff80; --colorHighlightFgAlphaHeavy:#ffffff40; --colorAccentBg:#404040; --colorAccentBgAlpha:#74747466; --colorAccentBgAlphaHeavy:#74747440; --colorAccentBgDark:#303030; --colorAccentBgDarker:#1a1a1a; --colorAccentBgFaded:#343434; --colorAccentBgFadedMore:#555555; --colorAccentBgFadedMost:#747474; --colorAccentBorder:#303030; --colorAccentBorderDark:#262626; --colorAccentFg:#ffffff; --colorAccentFgFaded:#cacaca; --colorAccentFgAlpha:#ffffff40; --colorBorder:#1c1c1c; --colorBorderDisabled:#242424; --colorBorderSubtle:#222222; --colorBorderIntense:#0c0c0c; --colorSuccessBg:#06a700; --colorSuccessBgAlpha:#06a7001a; --colorSuccessFg:#ffffff; --colorWarningBg:#efaf00; --colorWarningBgAlpha:#efaf001a; --colorWarningFg:#000000; --colorErrorBg:#c64539; --colorErrorBgAlpha:#c645391a; --colorErrorFg:#ffffff;"></span></html>
diff --git a/contact.php b/contact.php
new file mode 100644
index 0000000..995dfa1
--- /dev/null
+++ b/contact.php
@@ -0,0 +1,214 @@
+<!------ monaco has been here tweaking and coding this ---->
+<!------ This is the oddprotocol.org team ---->
+<!------ You heard about us! ---->
+<!------ It's running under BSD/ODDPROTCOL License ---->
+<!------ 1. Search for "$email_to =" and change! ---->
+<!------ 2. Search for "$email_from =" and change it! ---->
+<!------ 1. Is where you wanna recieve you're messages ---->
+<!------ 2. Is what email you wanna recieve mails as ---->
+
+<!doctype html>
+<html class="no-js" lang="en">
+<head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Contact KISSmo!</title>
+ <style>
+ body {
+ background: whitesmoke;
+ font-family: monospace;
+ }
+ span.error {
+ display: block;
+ padding: 5px;
+ background: red;
+ color: white;
+ }
+ span.hidden {
+ visibility: hidden;
+ padding: 0;
+ margin: 0;
+ }
+ span.success {
+ display: block;
+ padding: 5px;
+ background: green;
+ color: white;
+ }
+ span.success.hidden {
+ visibility: hidden;
+ padding: 0;
+ margin: 0;
+ }
+ </style>
+</head>
+
+<body>
+ <section id="contact">
+ <div>
+ <div>
+
+ <div>
+ <h2>Contact KISSmo</h2>
+ <?php
+ // define variables and set to empty values
+ $name = $email = $inquiry = $email_message = "";
+ $submitted = 0;
+
+ if ($_SERVER["REQUEST_METHOD"] == "POST") {
+ if (empty($_POST["name"])) {
+ $nameErr = "Name is required";
+ } else {
+ $name = clean_data($_POST["name"]);
+ $fill["name"] = $name;
+ // check if name only contains letters and whitespace
+ if (!preg_match("/^[a-zA-Z ]*$/",$name)) {
+ $nameErr = "Only letters and white space allowed";
+ }
+ }
+
+ if (empty($_POST["email"])) {
+ $emailErr = "Email is required";
+ } else {
+ $email = clean_data($_POST["email"]);
+ $fill["email"] = $email;
+ // check if e-mail address is well-formed
+ if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
+ $emailErr = "Invalid email format";
+ }
+ }
+
+ if (empty($_POST["inquiry"])) {
+ $inquiryErr = "You Cannot Submit an Empty Inquiry";
+ } else {
+ $inquiry = clean_data($_POST["inquiry"]);
+ $fill["inquiry"] = $inquiry;
+ }
+ }
+
+ function clean_data($data) {
+ // Strip whitespace (or other characters) from the beginning and end of string
+ $data = trim($data);
+ // Un-quotes quoted string
+ $data = stripslashes($data);
+ // Convert special characters to HTML entities
+ $data = htmlspecialchars($data);
+ return $data;
+ }
+ // Send email if no errors
+ if (isset($fill)) {
+ if (empty($nameErr) && empty($emailErr) && empty($inquiryErr)) {
+ // Inquiry sent from address below
+ $email_from = "contact@paste.oddprotocol.org";
+
+ // Send form contents to address below
+ $email_to = "support@paste.oddprotocol.org";
+
+ // Email message subject
+ $today = date("j F, Y. H:i:s");
+ $email_subject = "Contact from KISSmo [$today]";
+
+ function clean_string($string) {
+
+ $bad = array("content-type","bcc:","to:","cc:","href");
+
+ return str_replace($bad,"",$string);
+
+ }
+
+ $email_message .= "Username: ".clean_string($name)."\n";
+
+ $email_message .= "Email: ".clean_string($email)."\n";
+
+
+ $email_message .= "Message: ".clean_string($inquiry)."\n";
+
+ // create email headers
+ $headers = 'From: '.$email_from."\r\n".
+
+ 'Reply-To: '.$email_from."\r\n" .
+
+ 'X-Mailer: PHP/' . phpversion();
+
+ @mail($email_to, $email_subject, $email_message, $headers);
+
+ $submitted = 1;
+ }
+ }
+ ?>
+ <div>
+ <form name="contactus" method="post" action="contact.php">
+ <div>
+<span> <a href="./">Home</a> | <a href="./archive.php">Archive</a> | <a href="./about.html">About</a> | <a href="./contact.php">Contact</a></span></br>
+<span>* Contact or request something about KISSmo, or report any bug has to do with KISSmo script, please fill a valid email in order for us to be able to contact you back and give you a feedback on you're request/report/debugging.</span>
+ </div>
+ <br>
+ <div>
+ <div>
+ <span>Username</span>
+ </div>
+ <div>
+ <input type="text" name="name" placeholder="You're username" value="<?php
+ if (isset($fill["name"]) && $submitted == 0) {
+ echo $fill["name"];
+ }?>">
+ <span class="<?php
+ if (empty($nameErr)) {
+ echo "hidden";
+ } else {
+ echo "error";
+ }
+ ?>"><?php echo $nameErr;?></span>
+ </div>
+ </div>
+ <div>
+ <div>
+ <span>Email</span>
+ </div>
+ <div>
+ <input type="text" name="email" placeholder="Email Address" value="<?php
+ if (isset($fill["email"]) && $submitted == 0) {
+ echo $fill["email"];
+ }?>">
+ <span class="<?php
+ if (empty($emailErr)) {
+ echo "hidden";
+ } else {
+ echo "error";
+ }
+ ?>"><?php echo $emailErr;?></span>
+ </div>
+ </div>
+
+ <div>
+ <span>Message:</span>
+ </div>
+ <div>
+ <textarea name="inquiry" placeholder="You're detailed message fill it here please!" style="margin: 0px; width: 80%; height: 249px;"><?php
+ if (isset($fill["inquiry"]) && $submitted == 0) {
+ echo $fill["inquiry"];
+ }?></textarea>
+ <span class="<?php
+ if (empty($inquiryErr)) {
+ echo "hidden";
+ } else {
+ echo "error";
+ }
+ ?>"><?php echo $inquiryErr;?></span>
+ <div>
+ <input type="submit" value="Submit" class="small button" />
+ </div>
+ </div>
+ </div>
+ </form>
+
+ <!-- Success message -->
+ <span class="success <?php if ($submitted == 0) { echo "hidden"; } ?>" >You're message has been <strong>Successfully sent</strong></span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+</body>
+
+</html>
diff --git a/gallery/index.html b/gallery/index.html
new file mode 100644
index 0000000..3fc0735
--- /dev/null
+++ b/gallery/index.html
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="Author" content="Made by 'tree'">
+ <meta name="GENERATOR" content="$Version: $ tree v1.8.0 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $">
+ <title>Directory Tree</title>
+ <style type="text/css">
+ <!--
+ BODY { font-family : ariel, monospace, sans-serif; }
+ P { font-weight: normal; font-family : ariel, monospace, sans-serif; color: black; background-color: transparent;}
+ B { font-weight: normal; color: black; background-color: transparent;}
+ A:visited { font-weight : normal; text-decoration : none; background-color : transparent; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ A:link { font-weight : normal; text-decoration : none; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ A:hover { color : #000000; font-weight : normal; text-decoration : underline; background-color : yellow; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ A:active { color : #000000; font-weight: normal; background-color : transparent; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ .VERSION { font-size: small; font-family : arial, sans-serif; }
+ .NORM { color: black; background-color: transparent;}
+ .FIFO { color: purple; background-color: transparent;}
+ .CHAR { color: yellow; background-color: transparent;}
+ .DIR { color: blue; background-color: transparent;}
+ .BLOCK { color: yellow; background-color: transparent;}
+ .LINK { color: aqua; background-color: transparent;}
+ .SOCK { color: fuchsia;background-color: transparent;}
+ .EXEC { color: green; background-color: transparent;}
+ -->
+ </style>
+</head>
+<body>
+ <h1>Directory Tree</h1><p>
+ <a href=".">.</a><br>
+ ├── <a href="./index.html">index.html</a><br>
+ ├── <a href="./ircnowblue.jpg">ircnowblue.jpg</a><br>
+ ├── <a href="./ircnow.jpg">ircnow.jpg</a><br>
+ └── <a href="./klowdy.txt">klowdy.txt</a><br>
+ <br><br>
+ </p>
+ <p>
+
+0 directories, 4 files
+ <br><br>
+ </p>
+ <hr>
+ <p class="VERSION">
+ tree v1.8.0 © 1996 - 2018 by Steve Baker and Thomas Moore <br>
+ HTML output hacked and copyleft © 1998 by Francesc Rocher <br>
+ JSON output hacked and copyleft © 2014 by Florian Sesser <br>
+ Charsets / OS/2 support © 2001 by Kyosuke Tokoro
+ </p>
+</body>
+</html>
diff --git a/gallery/index.html~ b/gallery/index.html~
new file mode 100644
index 0000000..17e8685
--- /dev/null
+++ b/gallery/index.html~
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="Author" content="Made by 'tree'">
+ <meta name="GENERATOR" content="$Version: $ tree v1.8.0 (c) 1996 - 2018 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro $">
+ <title>Directory Tree</title>
+ <style type="text/css">
+ <!--
+ BODY { font-family : ariel, monospace, sans-serif; }
+ P { font-weight: normal; font-family : ariel, monospace, sans-serif; color: black; background-color: transparent;}
+ B { font-weight: normal; color: black; background-color: transparent;}
+ A:visited { font-weight : normal; text-decoration : none; background-color : transparent; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ A:link { font-weight : normal; text-decoration : none; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ A:hover { color : #000000; font-weight : normal; text-decoration : underline; background-color : yellow; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ A:active { color : #000000; font-weight: normal; background-color : transparent; margin : 0px 0px 0px 0px; padding : 0px 0px 0px 0px; display: inline; }
+ .VERSION { font-size: small; font-family : arial, sans-serif; }
+ .NORM { color: black; background-color: transparent;}
+ .FIFO { color: purple; background-color: transparent;}
+ .CHAR { color: yellow; background-color: transparent;}
+ .DIR { color: blue; background-color: transparent;}
+ .BLOCK { color: yellow; background-color: transparent;}
+ .LINK { color: aqua; background-color: transparent;}
+ .SOCK { color: fuchsia;background-color: transparent;}
+ .EXEC { color: green; background-color: transparent;}
+ -->
+ </style>
+</head>
+<body>
+ <h1>Directory Tree</h1><p>
+ <a href=".">.</a><br>
+ <br><br>
+ </p>
+ <p>
+ <br><br>
+ </p>
+ <hr>
+ <p class="VERSION">
+ tree v1.8.0 © 1996 - 2018 by Steve Baker and Thomas Moore <br>
+ HTML output hacked and copyleft © 1998 by Francesc Rocher <br>
+ JSON output hacked and copyleft © 2014 by Florian Sesser <br>
+ Charsets / OS/2 support © 2001 by Kyosuke Tokoro
+ </p>
+</body>
+</html>
diff --git a/gallery/ircnow.jpg b/gallery/ircnow.jpg
new file mode 100644
index 0000000..cf28907
--- /dev/null
+++ b/gallery/ircnow.jpg
Binary files differ
diff --git a/gallery/ircnowblue.jpg b/gallery/ircnowblue.jpg
new file mode 100644
index 0000000..c71af6a
--- /dev/null
+++ b/gallery/ircnowblue.jpg
Binary files differ
diff --git a/index.php b/index.php
index 3204554..d1949be 100644
--- a/index.php
+++ b/index.php
@@ -4,7 +4,7 @@
else ob_start();
?>
<?php
-$ncsite="youresite.tld 7777";
+$ncsite="paste.oddprotocol.org 7777";
?>
<html>
<body>
@@ -22,7 +22,7 @@ $ncsite="youresite.tld 7777";
|_|\_\___|___/___/_|_|_\___/
</pre>
</center><br>
- <center><a href="./">Paste</a> | <a href="./archive.php">Archive</a></center>
+ <center><a href="./">Paste</a> | <a href="./archive.php">Archive</a> | <a href="./about.html">About</a> | <a href="./contact.php">Contact</a></center>
<center><form name="form" method="post">
<textarea name="text_box" cols="40" minlength="5" rows="5" placeholder="Paste your code here..." maxlength="1048576" style="margin: 0px; width: 80%; height: 249px;" required pattern="\S+" oninvalid="this.setCustomValidity('We apologize but we won`t allow empty paste!')" oninput="this.setCustomValidity('')"></textarea>
<br>
@@ -33,7 +33,7 @@ $ncsite="youresite.tld 7777";
<br>
<center>Use this paste via terminal examples <span style="color:#e74c3c">"echo I was here | nc <?php echo"$ncsite";?>"</span> or <span style="color:#e74c3c">"cat example | nc <?php echo"$ncsite";?>"</span><center><br>
<center>KISS (Keep it simple, stupid) style pastebin developed from (monaco) with less than <span style="color:#e74c3c">70</span> Lines of code!</center>
- <center>Running KISSmo v.1.0.0 stable > 1.5 KB, for any issue or request contact <a href="mailto:support@paste.oddprotocol.org">support@paste.oddprotocol.org</a> this is open-source project so feel free <a href="https://gitlab.com/hedho/KISSmo">Source avaliable at GitLab</a></center>
+ <center>Running KISSmo v.1.0.0 stable > 1.5 KB, for any issue or request contact <a href="./contact.php">Contact</a> this is open-source project so feel free <a href="https://github.com/hedho/KISSmo">Source avaliable at Github</a></center>
<br>
<?php
// Set the current working directory
@@ -57,7 +57,7 @@ echo $filecount . " paste files </center>";
if(isset($_POST['text_box'])) { //only do file operations when appropriate
- $sitename = "https://youresitename.tld/p";
+ $sitename = "https://paste.oddprotocol.org/p";
$a = $_POST['text_box'];
$powered = "### This content was generated under KISSmo Paste with love at this time:";
$tagz = "### ";
diff --git a/ip/index.php b/ip/index.php
new file mode 100644
index 0000000..405626b
--- /dev/null
+++ b/ip/index.php
@@ -0,0 +1,3 @@
+<?php
+echo 'This is the IP Address - '.$_SERVER['REMOTE_ADDR'];
+?>
diff --git a/p/index.txt b/p/index.txt
index 69a03e2..2ab4401 100644
--- a/p/index.txt
+++ b/p/index.txt
@@ -2,12 +2,12 @@ Welcome to KISSmo Paste
You can use it via terminal with Netcat with this command!
-cat file | nc monaco.uk.to 7777
+cat file | nc paste.oddprotocol.org 7777
or
-echo KISSmo is awesome | nc monaco.uk.to 7777
+echo KISSmo is awesome | nc paste.oddprotocol.org 7777
If you wanna use KISSmo web interface you're more than welcome:
-https://monaco.coconut.ircnow.org/test/
+https://paste.oddprotocol.org
diff --git a/style.css b/style.css
index ef96a96..d3f8a47 100644
--- a/style.css
+++ b/style.css
@@ -9,7 +9,13 @@
body {
background: whitesmoke;
font-family: monospace;
-margin: 10px!important;
+}
+code {
+ background: #F5F5F5;
+ border: 1px
+ solid #AAAAAA;
+ overflow: auto;
+ padding: 10px
}
span.error {
display: block;
@@ -17,11 +23,28 @@ padding: 5px;
background: red;
color: white;
}
+error {
+display: block;
+padding: 5px;
+background: red;
+color: white;
+}
+hidden {
+visibility: hidden;
+padding: 0;
+margin: 0;
+}
span.hidden {
visibility: hidden;
padding: 0;
margin: 0;
}
+success {
+display: block;
+padding: 5px;
+background: green;
+color: white;
+}
span.success {
display: block;
padding: 5px;
@@ -41,6 +64,13 @@ visibility: hidden;
padding: 0;
margin: 0;
}
+cmdbox {
+ background: #F5F5F5;
+ border: 1px solid #AAAAAA;
+ overflow: auto;
+ padding: 10px;
+}
+
pre.cmdbox {
background: #F5F5F5;
border: 1px solid #AAAAAA;
@@ -90,23 +120,3 @@ div.b {
pre {
word-wrap: break-word;
}
-
-.pagination {
- display: inline-block;
- margin-top: 15px;
-}
-
-.pagination a {
- color: black;
- float: left;
- border: #cecece 1px solid;
- padding: 8px 16px;
- text-decoration: none;
-}
-
-.pagination a.active {
- background-color: #4CAF50;
- color: white;
-}
-
-.pagination a:hover:not(.active) {background-color: #ddd;}