From 7d28d178339efe50028e94572b572ea5ecc9892d Mon Sep 17 00:00:00 2001 From: Banana Date: Fri, 20 Dec 2019 11:52:35 +0100 Subject: [PATCH] wrong basics. Started documentation and client --- client/.gitignore | 1 + client/selfpaste.default.sh | 25 +++++++++++++++++++++++++ documentation/setup.txt | 2 ++ webroot/.htaccess | 5 ++++- webroot/android-chrome-192x192.png | Bin 4962 -> 0 bytes webroot/apple-touch-icon.png | Bin 3559 -> 0 bytes webroot/browserconfig.xml | 9 --------- webroot/favicon-16x16.png | Bin 485 -> 0 bytes webroot/favicon-32x32.png | Bin 754 -> 0 bytes webroot/favicon.ico | Bin 15086 -> 0 bytes webroot/index.php | 10 ++++++++++ webroot/mstile-150x150.png | Bin 2500 -> 0 bytes webroot/safari-pinned-tab.svg | 1 - webroot/site.webmanifest | 14 -------------- webroot/view/welcome.inc.php | 11 ++--------- 15 files changed, 44 insertions(+), 34 deletions(-) create mode 100644 client/.gitignore create mode 100644 client/selfpaste.default.sh create mode 100644 documentation/setup.txt delete mode 100644 webroot/android-chrome-192x192.png delete mode 100644 webroot/apple-touch-icon.png delete mode 100644 webroot/browserconfig.xml delete mode 100644 webroot/favicon-16x16.png delete mode 100644 webroot/favicon-32x32.png delete mode 100644 webroot/favicon.ico delete mode 100644 webroot/mstile-150x150.png delete mode 100644 webroot/safari-pinned-tab.svg delete mode 100644 webroot/site.webmanifest diff --git a/client/.gitignore b/client/.gitignore new file mode 100644 index 0000000..e29e588 --- /dev/null +++ b/client/.gitignore @@ -0,0 +1 @@ +selfpaste.sh diff --git a/client/selfpaste.default.sh b/client/selfpaste.default.sh new file mode 100644 index 0000000..b6696a7 --- /dev/null +++ b/client/selfpaste.default.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash + +# This program is free software: you can redistribute it and/or modify +# it under the terms of the COMMON DEVELOPMENT AND DISTRIBUTION LICENSE +# You should have received a copy of the +# COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 +# along with this program. If not, see http://www.sun.com/cddl/cddl.html +# +# 2019 https://www.bananas-playground.net/projekt/selfpaste + +if [ $# -lt 1 ]; then + echo "You need to provide a file to paste"; + echo "selfpaste.sh /path/to/file"; + exit 2; +fi; + +FILENAME="$1"; +ENDPOINT=""; + +if [[ -r $FILENAME ]]; then + echo ""; +else + echo "Provided file is not accessable." + exit 3; +fi; \ No newline at end of file diff --git a/documentation/setup.txt b/documentation/setup.txt new file mode 100644 index 0000000..e3ba56a --- /dev/null +++ b/documentation/setup.txt @@ -0,0 +1,2 @@ +Change upload_max_filesize and php_value post_max_size in webroot/.htaccess +Change ENDPOINT variable in selfpaste.sh client file. \ No newline at end of file diff --git a/webroot/.htaccess b/webroot/.htaccess index 14bfbbf..a043516 100644 --- a/webroot/.htaccess +++ b/webroot/.htaccess @@ -12,4 +12,7 @@ AddDefaultCharset utf-8 RewriteEngine On RewriteRule ^(.*)$ index.php?s=$1 [QSA,L] - \ No newline at end of file + + +php_value upload_max_filesize 1M +php_value post_max_size 1M \ No newline at end of file diff --git a/webroot/android-chrome-192x192.png b/webroot/android-chrome-192x192.png deleted file mode 100644 index 2669eb3c23d7be4a41ef1937d981204aa09fc204..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4962 zcmV-o6P@gdP)Px#v`|b`MNDaNdwY9sZf*w$2LuEJG&D3wNJz=a$pi!h z0s;b6RaFrY5eNtfQ&UqjGcykl4+#kgDJdxt9a92^`) zMMWGO91IK$+S=L{78VT+4L3J8M@L5~DJc~d6(=Vr5fKq2BqWfKkTWwgIXO8lE-qA5 zRAgjiQc_YpJUlKgF1@|IB_$<{jEsbYgqN3>LqkJhVPS)VgKuwd0002@_xI!D;{jOVIdoD^Qvd`A?e|X`0rC6}zvdM;$KXVBh&~aQXQYrJeA)-8(Jm-dvR=5I9&lcY zL|Zp$oAvPgx5fLnhRIl|Fhc+U5u`~(K~#9!>|ASmqC68`AR59!P8LBa2a&$r?X}&{ z{Qp1p0uvBofMC_fURUSKcBz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ABePT>%h=S&#LUDT g#0SfONT5nC0O}VJbn-$ql>h($07*qoM6N<$f)U9e-T(jq diff --git a/webroot/apple-touch-icon.png b/webroot/apple-touch-icon.png deleted file mode 100644 index cff31f895adab725957d423bdc918fd62b1337e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3559 zcmVPx#OHfQyMF0Q*qobqi>+2O275e)6^Yil~BP0L+{|gHX z;^N}j+1bv{&i?-XIXOANz`%opgG59`Qc_ZLb8{>#EM#P4nwpxnwziLtkF2b$;sCcB z000cvNklOaMA7m zaG)RPALt+GALt+GALt+GALt+GALt+GALt+GALt+GALt+G)IsMVGh;Tx{v2ld{h(!* zGsg0~Fe8Uw=kEv2Rd42a94j-%(fr!i{M$j3wl4Q~p~;tn9=loYc4gi8-Jr|5KlmN( z8~n|niSC4jDb`^vLv)k;V$fAL5lbLl;YVkwLr!ojUkVyGU>r0>{zlNH0&nA;vkJo(m9rB+|NBV!4WLQuDB63W1ueXBgJo33+oJjVK#zr`=-Zqh zLFc23JJq*=#&wM$jH4rH=Zj_iu4w))&}1sybg~#|24Q?I-W1K>1X_xswO%L+6a$T% zx%Y31=5GRxn~no46oRhqQN|O?d!qS!K+B;RBxG7EO4iPE%ht`@2`6CkF9FTFh5}QE zk&v-)%L%9EEz$ffplJ&NgJ^Uyv?J?xMDv$H%Mvs`w37HLJ(< zbT0oHXs*~g7Bz$t1{`V}_I~zDy!{gBjVU;ao>&U#$U}KWWWNNuI$TwBC~1H~Io|U> z0KFk(Rc?jSV!nl{YgHT!-4RU~?qASQ=q0{DJ0Uc0z_G3$Dp6uwifU@Qjp0BNbNqyl zgFepFMkwXYz)46nL!BRlQ@`KyVbB{{V@i~{N@_xy>+j5;{Nhl@vE#5B2^!&Ex^=EzYY0#n1<-WpC z-Sbzof6k<=hPH2-zRfC3mSZ|F_|XF#BcJmr(3=^$3woT@tPyTviO_e~%WEx&x2uNL zck7|;;fZ|;vbT~IGBF~6E)q1fA zvI$eq_~J95H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i!U~{PIL>0;VlMTt4h!obqh;ePXFcao zA8O-Pm|4!`&pZfF7 z004NL - - - - - #da532c - - - diff --git a/webroot/favicon-16x16.png b/webroot/favicon-16x16.png deleted file mode 100644 index 2a98da595d01359a73d619cbb2f8d51208c85230..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 485 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbKJOS+@4BLl<6e(pbstUx|vage(c z!@6@aFM*t>0G|+7pUgrY9v%S!0Z~y=E-o%+W@bJEak7aXGg)obQl>fb;gV=gxhb z#r1u^nxdeF$B*;ZHlMwrntY?5ZPD)P!_p6WFJ@HF52&%dVY~G1CH0M-Rg1I|cSY&B zUM*4+z1-TdLr{is&BXcqOP}U-zL|Bf|ND}x==(cv{O0nKZzx$|z`+w&sLp#hKzym; zl%*E2h8vg~?b9@$KTj6Bp;OE{wclmRql+JZ{gEtMRr)A-gMAfammvGDDbeRZp&VWn z5>XPASgue|l%JNFld4csS&*ubSx}P9z)&&g@h2XR!Y~buQ~syVcs>ncU{>bVOXe0< z7WSSj!Yr)d(qM8pg;{xXh{EX`S56!`b42C{`{@Rc1zvg#ufzpQJ~^3A1zN%2>FVdQ I&MBb@0Q+;CkpKVy diff --git a/webroot/favicon-32x32.png b/webroot/favicon-32x32.png deleted file mode 100644 index b4a668b425f3dd8d7a61c0b213dbd536cd7a5580..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 754 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE3?yBabR7dyEa{HEjtmSN`?>!lvI6;x#X;^) z4C~IxyaaNR1AIbUeKHG$!GN8eotvARmzP&uT%4buUrkL-P*4!a0FsQ1jGUaDtgNg+ zSw22KHa0e9W@exu6B83q5Xc2GfFh2Ljyya(Ky!fXoSd9#)28X^=>hHOxbCqUNGX&A z`2{oBOZJ8p@Vm3CnCX2_TN4}5eD2N7#WSDo&?&Du>Xm1I@tfimpfl%rx;TbdoL(Dz zv*@vcz?_Ft0*^#?y%qWYe`@!V(xZNlY?iJL;i$TDSBl|5|3$?`|60vGTE5w?H<(iC z{;k_FZrRLxvm|`JK3o0&rc0~ur5Ncd@v`rCk5&5bn|H$E*WcB?=GUM6suWV1dMfsQ zcX(XCsqrk0BDq~BHRJQwt9|_A^1im)U{!EIwP3`n4i1Ysk}?suvMZ+rR4%*S@LROV zTc}OR7WIKu;igW!guN#H8Dv&z6M=960tY=h)#Gf6fir%Kit~C+GRx zJX_>=*=c96*XlhEAGjjsS>Fm(?^IfpyGv-Uf>9LPw05 z9)IHDC=AokIOTu(jOWuJ24-b$y<~1-Wnu5hBFw@HE)6D!Q<#-EhbWxBaplC3Ge=~O gu%B-5Sm33{@Jd{;RG<|Mp00i_>zopr0N)iTApigX diff --git a/webroot/favicon.ico b/webroot/favicon.ico deleted file mode 100644 index ff02932094f0f60c5fed5915b0c2d80a853d3acf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 15086 zcmeI&TZ~>+6$kJ$Gi7?A?M!JX#TeR$3Mb{f4UQs|Kp=+pFMPtDk+Ws&-UWwRLMVAFismVr@9M{co(Osvm~H zNXUdrH5O#Oezwi9%m2Ncfe%{-Zo28FmDgW?{U&tdjW@1u<6CIIEx(*|m{+Y@b!f$k z701zkm-J-L( zkBenFW4Pv;Yi=1D8rsvMdjk8fN?c1BtHt{D>%ZBuxhLZKqJ9foOM2)z%pQ@LE3ittD9_kI$!*x`o_`yvkdH?X-EjFygb1^hDkv;qy9vlhYN?zJ2?? z|J-xWy=c#xeR)n9=d=?Uk~ zK3nX%(_%QMN953%A)8p)A*UYp*%Obm!H&7yAlURAxeXgO>@sfRx;tX4N!)bBO2$|` zX`|$@vLDZ{VGw7o8Hes^cCF>p_?xXsH~joXjIYUG>fwB|D-LtE^BqQ3okH&o`Gm`w zdDGKWKJawIPe|;1*)Nq~$R4oHNBBELR_~GLUrxH=*LPVv`uZ<$?+MuvvFNMxNuQnU z3-axUEFE=Y$G$c7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nkVV$*N>6b9q4IVV?{132tw?{xERO>N|zeZES2;^qg&HZHcs)=fw3Y|`!J zw_KN7_F#ZNG4R`~)@1VTNqHEp$tPa=m~Y(l-!V1dGws0>w(ie)o5QR&iCN5aGH>(w zEcepC`ioa@vFRKw4y}hbadeyVldcF`V+2a_S%lWYjU&7t8r!lYZpl82n;#=I}hvf#tC{Ti)-!SDuyw zIMlw;t>0gZ^;^o7G3Z0K#VRho4Huc~~p7k8x@@*|>NoRZ^U%mFT4r0!@FLmDASh5aH+?PD>ZU6r- zbH66cKJin;bXASN(dnEHI`vGa^RFNM;3u#Dd;G*k-+^zAGyFu{9s7}S+;g9?he`;;!^0cnoVnk2#@~YO z3i?+39pzx?ypR;X=l{lWcHuuHMkG*E?uG~vsu))hVjAZH1l?yiQ!4&t- z?_=qGypi?Y^SZTo7fd#>))?t}*ny9JOrzDR_r(_TI)}z|?KS#x*RI1hIp(*~^EZCB z=&O-&byRp5$m^q&d y`Ssi9xg%9|W=mBanTi*F%+ZNQs%kQR9YF7VysG|uZ&jU)uh6N{DC+os<^BUa=3JKm diff --git a/webroot/index.php b/webroot/index.php index 1a07746..418fafb 100644 --- a/webroot/index.php +++ b/webroot/index.php @@ -47,6 +47,12 @@ if(isset($_GET['s']) && !empty($_GET['s'])) { $_short = Summoner::validate($_short,'nospace') ? $_short : false; } +$_create = false; +if(isset($_POST['c']) && !empty($_GET['s'])) { + $_create = trim($_GET['s']); + $_create = Summoner::validate($_short,'nospace') ? $_short : false; +} + $contentType = 'Content-type: text/html; charset=UTF-8'; $contentBody = 'welcome'; @@ -54,6 +60,10 @@ if(!empty($_short)) { } +var_dump($_POST); +var_dump($_FILES); +var_dump($_SERVER); + # header information header($contentType); if(file_exists('view/'.$contentBody.'.inc.php')) { diff --git a/webroot/mstile-150x150.png b/webroot/mstile-150x150.png deleted file mode 100644 index 7fba08ecbc648d7bb0e78f4102cc68cb64036592..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2500 zc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Jb0r=DTadw=H~Fy3Wz94uSuVi z@Hs)|;Zq=$FFH0x!icqeuBa-=_6RZqCKlibZrXBgCtrovC8a z9Hf?J58(JE;zIh=6+x3;RvgRoUjppe&X!Iio z{5(!-BMI0>9m*EivI6?t3A4On0KeBZiQFW=xYohF+MWQ5QMJ5Mh316yyb5s5w-l5XOQ z?F^SA>%jZ_SVUbslXg;)vH(+AjCFXpETyi=3aVipQ9rzcb zaHhFc93(~!W;j&4LYpBJ+HBcjH2xKoAe<{$Au1R1h@09Ib)tmV+H}DMSB>~fXhVy; z*JwlewHHs~Z~f|vJQP6bP#RtulWym8Tf$HQw90+a_+TIk6JdlW{_SVb`cZOQSkMKT zr990m^;x!3G7-vJFMC&Ha?r@4iL*XPdS{jO3B_KKnk^*TMj!MBo;11476qpGHsMr$ z2LivPgZCpLodaa-rgAXwjBcEx5iV#)p9tB|u#o%6AU|1jRH&aUG8F9#07RCqF!{Jq zPD)B6_T&$+uZ{qAd0us2UQu~b>s&E*QCaf@UE)1+R~JWCmR|KYvldmuT%>J?la Y@cn`?nrRBoKYIayS=gD^n|eR}FOihcv;Y7A diff --git a/webroot/safari-pinned-tab.svg b/webroot/safari-pinned-tab.svg deleted file mode 100644 index 7e25951..0000000 --- a/webroot/safari-pinned-tab.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webroot/site.webmanifest b/webroot/site.webmanifest deleted file mode 100644 index 7d4ec44..0000000 --- a/webroot/site.webmanifest +++ /dev/null @@ -1,14 +0,0 @@ -{ - "name": "Delta Labs", - "short_name": "Delta Labs", - "icons": [ - { - "src": "android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - } - ], - "theme_color": "#ffffff", - "background_color": "#ffffff", - "display": "standalone" -} diff --git a/webroot/view/welcome.inc.php b/webroot/view/welcome.inc.php index 984f36a..6524cdd 100644 --- a/webroot/view/welcome.inc.php +++ b/webroot/view/welcome.inc.php @@ -14,16 +14,9 @@ - - - - - - - - + -

Well, hello there sweetie!
Thank you for using Delta Labs.

+

Well, hello there sweetie!
Thank you for using selfpaste.

-- 2.39.5