From d87c31786f785d7a1547924e91b7567ceaedc282 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Thu, 27 Jun 2019 22:25:43 -0400 Subject: [PATCH] reformatting --- _includes/tiles.html | 66 ++++++++-- _posts/2018-06-27-BecomeRanter.md | 7 +- _posts/2019-06-12-Styiling-GitHub.md | 3 +- _posts/2019-06-26-BashSmash.md | 3 +- _posts/2019-06-27-PWNlink.md | 3 +- _site/all_posts.html | 8 +- _site/feed.xml | 12 +- _site/index.html | 120 +++++++++++++++--- .../2018/06/27/BecomeRanter.html | 0 .../2019/06/12/Styiling-GitHub.html | 0 .../2019/06/26/BashSmash.html | 0 .../2019/06/27/PWNlink.html | 0 12 files changed, 177 insertions(+), 45 deletions(-) rename _site/{devrant => projects}/2018/06/27/BecomeRanter.html (100%) rename _site/{css => projects}/2019/06/12/Styiling-GitHub.html (100%) rename _site/{random => projects}/2019/06/26/BashSmash.html (100%) rename _site/{random => projects}/2019/06/27/PWNlink.html (100%) diff --git a/_includes/tiles.html b/_includes/tiles.html index b118414..174cad4 100644 --- a/_includes/tiles.html +++ b/_includes/tiles.html @@ -1,3 +1,56 @@ +
{% for post in site.posts limit:site.tiles-count %} {% if site.tiles-source == 'posts' %} @@ -12,17 +65,4 @@ {% endif %} {% endfor %} - {% for page in site.pages limit:site.tiles-count %} - {% if site.tiles-source == 'pages' and page.show_tile != false %} - - {% endif %} - {% endfor %}
diff --git a/_posts/2018-06-27-BecomeRanter.md b/_posts/2018-06-27-BecomeRanter.md index f5d1685..c2fb2de 100644 --- a/_posts/2018-06-27-BecomeRanter.md +++ b/_posts/2018-06-27-BecomeRanter.md @@ -1,10 +1,13 @@ --- layout: post title: "Using a python script to create devRant posts based on the style and content of another user" -date: 2018-06-27 18:32:00+0000 -categories: devrant +description: "if/else ++" +date: 2018-06-27 18:32:00 +categories: projects +tag: projects --- + Ok... The title is slightly wrong. There are actually 2 scripts.. Sorry about that. This is a guide on installing and using the [BecomeRanter](https://github.com/Ewpratten/BecomeRanter) script. diff --git a/_posts/2019-06-12-Styiling-GitHub.md b/_posts/2019-06-12-Styiling-GitHub.md index 1300b38..ccda362 100644 --- a/_posts/2019-06-12-Styiling-GitHub.md +++ b/_posts/2019-06-12-Styiling-GitHub.md @@ -2,7 +2,8 @@ layout: post title: "GitHub's CSS is boring. So I refreshed the design" date: 2019-06-12 13:09:00+0000 -categories: css +categories: projects +tag: projects --- I have been using GitHub since 2017, and have been getting tired of GitHub's theme. I didn't need a huge change, just a small refresh. So, to solve this, I whipped out [Stylus](https://addons.mozilla.org/en-CA/firefox/addon/styl-us/) and made a nice little CSS file for it. diff --git a/_posts/2019-06-26-BashSmash.md b/_posts/2019-06-26-BashSmash.md index a7c120a..42ff462 100644 --- a/_posts/2019-06-26-BashSmash.md +++ b/_posts/2019-06-26-BashSmash.md @@ -3,7 +3,8 @@ layout: post title: "BashSmash" description: "A tool for driving people crazy" date: 2019-06-26 15:48:00 -categories: random +categories: projects +tag: projects --- I was watching this great [Liveoverflow video](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=2ahUKEwiOhNze_4fjAhUiB50JHR12D8AQwqsBMAB6BAgJEAQ&url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6D1LnMj0Yt0&usg=AOvVaw2nOgft0SoPZujc9js9Vxhx) yesterday, and really liked the idea of building escape sequences with strings. So, I built a new tool, [BashSmash](https://pypi.org/project/bashsmash/). diff --git a/_posts/2019-06-27-PWNlink.md b/_posts/2019-06-27-PWNlink.md index 27689fd..4f2b33e 100644 --- a/_posts/2019-06-27-PWNlink.md +++ b/_posts/2019-06-27-PWNlink.md @@ -3,7 +3,8 @@ layout: post title: "I had some fun with a router" description: "cleartext passwords + external management = death wish" date: 2019-06-27 17:16:00 -categories: random +categories: projects +tag: projects --- I was playing around with some D-link routers today and remembered an [ExploitDB Entry](https://www.exploit-db.com/exploits/33520) I read a while ago. Many D-link routers have a great feature that allows remote management and configuration queries. Interestingly, this cannot be disabled, and one of the pages contains a cleartext version of the admin password (yay!). diff --git a/_site/all_posts.html b/_site/all_posts.html index ef09a58..b39b4bd 100644 --- a/_site/all_posts.html +++ b/_site/all_posts.html @@ -82,7 +82,7 @@ -

I had some fun with a router

+

I had some fun with a router

@@ -253,7 +253,7 @@ -

BashSmash

+

BashSmash

@@ -610,7 +610,7 @@ Your browser does not support audio players -

GitHub's CSS is boring. So I refreshed the design

+

GitHub's CSS is boring. So I refreshed the design

@@ -731,7 +731,7 @@ Your browser does not support audio players -

Using a python script to create devRant posts based on the style and content of another user

+

Using a python script to create devRant posts based on the style and content of another user

diff --git a/_site/feed.xml b/_site/feed.xml index 369a2d2..c583c2b 100644 --- a/_site/feed.xml +++ b/_site/feed.xml @@ -1,4 +1,4 @@ -Jekyll2019-06-27T17:46:56-04:00http://localhost:4000/feed.xmlEvan PrattenComputer wizard, student, <a href="https://github.com/frc5024">@frc5024</a> programming team lead, and radio enthusiast.I had some fun with a router2019-06-27T13:16:00-04:002019-06-27T13:16:00-04:00http://localhost:4000/random/2019/06/27/PWNlink<p>I was playing around with some D-link routers today and remembered an <a href="https://www.exploit-db.com/exploits/33520">ExploitDB Entry</a> I read a while ago. Many D-link routers have a great feature that allows remote management and configuration queries. Interestingly, this cannot be disabled, and one of the pages contains a cleartext version of the admin password (yay!).</p> +Jekyll2019-06-27T22:21:52-04:00http://localhost:4000/feed.xmlEvan PrattenComputer wizard, student, <a href="https://github.com/frc5024">@frc5024</a> programming team lead, and radio enthusiast.I had some fun with a router2019-06-27T13:16:00-04:002019-06-27T13:16:00-04:00http://localhost:4000/projects/2019/06/27/PWNlink<p>I was playing around with some D-link routers today and remembered an <a href="https://www.exploit-db.com/exploits/33520">ExploitDB Entry</a> I read a while ago. Many D-link routers have a great feature that allows remote management and configuration queries. Interestingly, this cannot be disabled, and one of the pages contains a cleartext version of the admin password (yay!).</p> <h2 id="how-to-get-yourself-an-admin-password">How to get yourself an admin password</h2> <p>On any supported router, make an HTTP request to <code class="highlighter-rouge">http://your.router.ip.addr/tools_admin.asp/</code>. This will return a pretty large XML file containing information about your router’s hardware and configuration.</p> @@ -37,7 +37,7 @@ <p><strong>Don’t be dumb with this script.</strong></p> -<p>I have only used it on my own (or 5024’s) routers, and did not create PWNlink with any malicious intent.</p>I was playing around with some D-link routers today and remembered an ExploitDB Entry I read a while ago. Many D-link routers have a great feature that allows remote management and configuration queries. Interestingly, this cannot be disabled, and one of the pages contains a cleartext version of the admin password (yay!).Hunting snakes with a shotgun2019-06-27T03:00:00-04:002019-06-27T03:00:00-04:00http://localhost:4000/random/2019/06/27/Python<p>A rather large number of people know me as “the guy who does weird things with python”. I would object to this title, but it is quite accurate. So, here are some of the things I like playing with in python. None of these are actually breaking the language, just little known facts and syntax. At some point I will share about actually breaking the language. For now, enjoy the weird things I have found over the past 6 years.</p> +<p>I have only used it on my own (or 5024’s) routers, and did not create PWNlink with any malicious intent.</p>I was playing around with some D-link routers today and remembered an ExploitDB Entry I read a while ago. Many D-link routers have a great feature that allows remote management and configuration queries. Interestingly, this cannot be disabled, and one of the pages contains a cleartext version of the admin password (yay!).Hunting snakes with a shotgun2019-06-27T03:00:00-04:002019-06-27T03:00:00-04:00http://localhost:4000/random/2019/06/27/Python<p>A rather large number of people know me as “the guy who does weird things with python”. I would object to this title, but it is quite accurate. So, here are some of the things I like playing with in python. None of these are actually breaking the language, just little known facts and syntax. At some point I will share about actually breaking the language. For now, enjoy the weird things I have found over the past 6 years.</p> <h2 id="type-hints">Type hints</h2> <p>A little known feature of python is called “type hinting” (PEP 484). This is actually quite common to see in standard libraries, and has it’s own special syntax:</p> @@ -141,7 +141,7 @@ <p>This one is interesting. Python, like Java, is compiled into bytecode. So yes, it technically is a compiled language. To see said bytecode, take a look at any <code class="highlighter-rouge">.pyc</code> file sitting in your <code class="highlighter-rouge">__pycache__</code></p> <h2 id="blog-formatting-experiments">Blog formatting experiments</h2> -<p>I am still playing with post formats, and various types of content. This is more random than I usually prefer. Let me know your thoughts on the social media platform of your choosing.</p>A rather large number of people know me as “the guy who does weird things with python”. I would object to this title, but it is quite accurate. So, here are some of the things I like playing with in python. None of these are actually breaking the language, just little known facts and syntax. At some point I will share about actually breaking the language. For now, enjoy the weird things I have found over the past 6 years.BashSmash2019-06-26T11:48:00-04:002019-06-26T11:48:00-04:00http://localhost:4000/random/2019/06/26/BashSmash<p>I was watching this great <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiOhNze_4fjAhUiB50JHR12D8AQwqsBMAB6BAgJEAQ&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6D1LnMj0Yt0&amp;usg=AOvVaw2nOgft0SoPZujc9js9Vxhx">Liveoverflow video</a> yesterday, and really liked the idea of building escape sequences with strings. So, I built a new tool, <a href="https://pypi.org/project/bashsmash/">BashSmash</a>.</p> +<p>I am still playing with post formats, and various types of content. This is more random than I usually prefer. Let me know your thoughts on the social media platform of your choosing.</p>A rather large number of people know me as “the guy who does weird things with python”. I would object to this title, but it is quite accurate. So, here are some of the things I like playing with in python. None of these are actually breaking the language, just little known facts and syntax. At some point I will share about actually breaking the language. For now, enjoy the weird things I have found over the past 6 years.BashSmash2019-06-26T11:48:00-04:002019-06-26T11:48:00-04:00http://localhost:4000/projects/2019/06/26/BashSmash<p>I was watching this great <a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=2ahUKEwiOhNze_4fjAhUiB50JHR12D8AQwqsBMAB6BAgJEAQ&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D6D1LnMj0Yt0&amp;usg=AOvVaw2nOgft0SoPZujc9js9Vxhx">Liveoverflow video</a> yesterday, and really liked the idea of building escape sequences with strings. So, I built a new tool, <a href="https://pypi.org/project/bashsmash/">BashSmash</a>.</p> <h2 id="the-goal">The goal</h2> <p>The goal of BashSmash is very similar to that described in Liveoverflow’s video. Do anything in bash without using any letters or numbers except <code class="highlighter-rouge">n</code> and <code class="highlighter-rouge">f</code> (he used <code class="highlighter-rouge">i</code> instead of <code class="highlighter-rouge">f</code>). This can both bypass shell injection filters, and generally mess with people.</p> @@ -259,7 +259,7 @@ __<span class="o">()</span> <span class="o"&g <h2 id="why-do-you-have-a-desire-to-break-things-with-python">Why do you have a desire to break things with python</h2> <p>Because it is fun. Give it a try!</p> -<p>I will have a post here at some point about the weird things I do in my python code and why I do them.</p>I was watching this great Liveoverflow video yesterday, and really liked the idea of building escape sequences with strings. So, I built a new tool, BashSmash.The language hunt: Part 22019-06-24T17:36:00-04:002019-06-24T17:36:00-04:00http://localhost:4000/frc/2019/06/24/LanguageHunt2<p>This is a very short post, just to explain the result of <a href="/frc/2019/04/30/FRC-Languages.html">The language Hunt</a>.</p> +<p>I will have a post here at some point about the weird things I do in my python code and why I do them.</p>I was watching this great Liveoverflow video yesterday, and really liked the idea of building escape sequences with strings. So, I built a new tool, BashSmash.The language hunt: Part 22019-06-24T17:36:00-04:002019-06-24T17:36:00-04:00http://localhost:4000/frc/2019/06/24/LanguageHunt2<p>This is a very short post, just to explain the result of <a href="/frc/2019/04/30/FRC-Languages.html">The language Hunt</a>.</p> <h2 id="our-choice">Our choice</h2> <p>For our upcoming 2020 season and for the forseeable future, we have chosen Java as our programming language for direct hardware interfacing, and Python for networking, vision, and other smaller tasks.</p> @@ -400,7 +400,7 @@ Your browser does not support audio players <h2 id="the-result">The result</h2> <p>Here is the resulting image. From left, to right: 5024, 254, 2224, 5406, 2056</p> -<p><img src="/assets/images/w2a.png" alt="Thr result" /></p>I was scrolling through reddit the other day, and came across this great post by u/MasterQuacks.GitHub’s CSS is boring. So I refreshed the design2019-06-12T09:09:00-04:002019-06-12T09:09:00-04:00http://localhost:4000/css/2019/06/12/Styiling-GitHub<p>I have been using GitHub since 2017, and have been getting tired of GitHub’s theme. I didn’t need a huge change, just a small refresh. So, to solve this, I whipped out <a href="https://addons.mozilla.org/en-CA/firefox/addon/styl-us/">Stylus</a> and made a nice little CSS file for it.</p> +<p><img src="/assets/images/w2a.png" alt="Thr result" /></p>I was scrolling through reddit the other day, and came across this great post by u/MasterQuacks.GitHub’s CSS is boring. So I refreshed the design2019-06-12T09:09:00-04:002019-06-12T09:09:00-04:00http://localhost:4000/projects/2019/06/12/Styiling-GitHub<p>I have been using GitHub since 2017, and have been getting tired of GitHub’s theme. I didn’t need a huge change, just a small refresh. So, to solve this, I whipped out <a href="https://addons.mozilla.org/en-CA/firefox/addon/styl-us/">Stylus</a> and made a nice little CSS file for it.</p> <h2 id="the-css">The CSS</h2> <p>Here is the CSS. Feel free to play with it.</p> @@ -438,4 +438,4 @@ Your browser does not support audio players </code></pre></div></div> <h2 id="use-it-yourself">Use it yourself</h2> -<p>I put this theme on userstyles.org. You can download and install it by going to <a href="https://userstyles.org/styles/172679/ewpratten-s-githubtheme">my userstyles page</a>.</p>I have been using GitHub since 2017, and have been getting tired of GitHub’s theme. I didn’t need a huge change, just a small refresh. So, to solve this, I whipped out Stylus and made a nice little CSS file for it. \ No newline at end of file +<p>I put this theme on userstyles.org. You can download and install it by going to <a href="https://userstyles.org/styles/172679/ewpratten-s-githubtheme">my userstyles page</a>.</p>I have been using GitHub since 2017, and have been getting tired of GitHub’s theme. I didn’t need a huge change, just a small refresh. So, to solve this, I whipped out Stylus and made a nice little CSS file for it. \ No newline at end of file diff --git a/_site/index.html b/_site/index.html index d6d5a67..51862fd 100644 --- a/_site/index.html +++ b/_site/index.html @@ -120,7 +120,106 @@ --> -
+ +
@@ -152,7 +251,7 @@
-

BashSmash

+

BashSmash

A tool for driving people crazy

@@ -236,25 +335,12 @@
-

GitHub's CSS is boring. So I refreshed the design

+

GitHub's CSS is boring. So I refreshed the design

- - - - - - - - - - - - -
diff --git a/_site/devrant/2018/06/27/BecomeRanter.html b/_site/projects/2018/06/27/BecomeRanter.html similarity index 100% rename from _site/devrant/2018/06/27/BecomeRanter.html rename to _site/projects/2018/06/27/BecomeRanter.html diff --git a/_site/css/2019/06/12/Styiling-GitHub.html b/_site/projects/2019/06/12/Styiling-GitHub.html similarity index 100% rename from _site/css/2019/06/12/Styiling-GitHub.html rename to _site/projects/2019/06/12/Styiling-GitHub.html diff --git a/_site/random/2019/06/26/BashSmash.html b/_site/projects/2019/06/26/BashSmash.html similarity index 100% rename from _site/random/2019/06/26/BashSmash.html rename to _site/projects/2019/06/26/BashSmash.html diff --git a/_site/random/2019/06/27/PWNlink.html b/_site/projects/2019/06/27/PWNlink.html similarity index 100% rename from _site/random/2019/06/27/PWNlink.html rename to _site/projects/2019/06/27/PWNlink.html