From 49588ea138304e8286330bb597b6c61746191df6 Mon Sep 17 00:00:00 2001 From: monaco Date: Fri, 14 Jan 2022 20:29:55 +0100 Subject: Latest update --- about.html | 82 +++++++++++++++++++ contact.php | 214 +++++++++++++++++++++++++++++++++++++++++++++++++ gallery/index.html | 51 ++++++++++++ gallery/index.html~ | 45 +++++++++++ gallery/ircnow.jpg | Bin 0 -> 2669892 bytes gallery/ircnowblue.jpg | Bin 0 -> 3218362 bytes index.php | 8 +- ip/index.php | 3 + p/index.txt | 6 +- style.css | 52 +++++++----- 10 files changed, 433 insertions(+), 28 deletions(-) create mode 100644 about.html create mode 100644 contact.php create mode 100644 gallery/index.html create mode 100644 gallery/index.html~ create mode 100644 gallery/ircnow.jpg create mode 100644 gallery/ircnowblue.jpg create mode 100644 ip/index.php diff --git a/about.html b/about.html new file mode 100644 index 0000000..8616289 --- /dev/null +++ b/about.html @@ -0,0 +1,82 @@ + + + +KISSmo 1.0 + + + + +

KISSmo 1.0 Home | Archive | About | Contact

+ + + +
+Released May 17, 2021. (1st KISSmo release)
+Copyright 2021, init a.k.a monaco.
+
    +
  • To download KISSmo source visit our gitlab repositories Click here! . +
  • Keep it simple stupid (KISSmo paste). +
  • KISSmo requires no database of anykind it is based on a flatfile paste system.

+ +
+ +
+

What's New

+

+This is a partial list of new features included on KISSmo. + +

+ +
+

Install

+

+Please refer to the following links for download and help documents: + +

+ +
+ +
+

How to upgrade

+

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. +

+ +
+ +
+

Nginx Config

+

Explain for howto make it work under systems running nginx.

    location /p/ {
+   alias /home/admin/web/paste.oddprotocol.org/public_html/p/;
+   index index.txt;
+   autoindex on;
+}
+
+

This configuration is needed to be added under nginx confing for that specific domain name that you're trying to run KISSmo. +

+ +
+ +
+

OpenHTTPD Config

+

+AExplain howto make it work under system OpenBSD running OpenHTTPD: +

	location "/test/p/*" { 
+		directory { auto index, index "index.txt" }
+	}
+
+

[Under httpd.conf referring to the specific domain name configuration you would need to add the configuration above.]

init a.k.a monaco - (C) 2021

+ diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..995dfa1 --- /dev/null +++ b/contact.php @@ -0,0 +1,214 @@ + + + + + + + + + + + + + + + Contact KISSmo! + + + + +
+
+
+ +
+

Contact KISSmo

+ +
+
+
+ Home | Archive | About | Contact
+* 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. +
+
+
+
+ Username +
+
+ "> + "> +
+
+
+
+ Email +
+
+ "> + "> +
+
+ +
+ Message: +
+
+ + "> +
+ +
+
+
+ + + + " >You're message has been Successfully sent +
+
+
+ +
+ + + 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 @@ + + + + + + + Directory Tree + + + +

Directory Tree

+ .
+ ├── index.html
+ ├── ircnowblue.jpg
+ ├── ircnow.jpg
+ └── klowdy.txt
+

+

+

+ +0 directories, 4 files +

+

+
+

+ tree v1.8.0 © 1996 - 2018 by Steve Baker and Thomas Moore
+ HTML output hacked and copyleft © 1998 by Francesc Rocher
+ JSON output hacked and copyleft © 2014 by Florian Sesser
+ Charsets / OS/2 support © 2001 by Kyosuke Tokoro +

+ + 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 @@ + + + + + + + Directory Tree + + + +

Directory Tree

+ .
+

+

+

+

+

+
+

+ tree v1.8.0 © 1996 - 2018 by Steve Baker and Thomas Moore
+ HTML output hacked and copyleft © 1998 by Francesc Rocher
+ JSON output hacked and copyleft © 2014 by Florian Sesser
+ Charsets / OS/2 support © 2001 by Kyosuke Tokoro +

+ + diff --git a/gallery/ircnow.jpg b/gallery/ircnow.jpg new file mode 100644 index 0000000..cf28907 Binary files /dev/null and b/gallery/ircnow.jpg differ diff --git a/gallery/ircnowblue.jpg b/gallery/ircnowblue.jpg new file mode 100644 index 0000000..c71af6a Binary files /dev/null and b/gallery/ircnowblue.jpg 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(); ?> @@ -22,7 +22,7 @@ $ncsite="youresite.tld 7777"; |_|\_\___|___/___/_|_|_\___/
-
Paste | Archive
+
Paste | Archive | About | Contact

@@ -33,7 +33,7 @@ $ncsite="youresite.tld 7777";
Use this paste via terminal examples "echo I was here | nc " or "cat example | nc "

KISS (Keep it simple, stupid) style pastebin developed from (monaco) with less than 70 Lines of code!
-
Running KISSmo v.1.0.0 stable > 1.5 KB, for any issue or request contact support@paste.oddprotocol.org this is open-source project so feel free Source avaliable at GitLab
+
Running KISSmo v.1.0.0 stable > 1.5 KB, for any issue or request contact Contact this is open-source project so feel free Source avaliable at Github

"; 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 @@ + 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;} -- cgit v1.2.3