Skip to content

Commit 9a637a8

Browse files
authored
Add files via upload
1 parent 0cd3045 commit 9a637a8

File tree

12 files changed

+91
-11
lines changed

12 files changed

+91
-11
lines changed

_config.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ description: >- # used by seo meta and the atom feed
2323
2424
# Fill in the protocol & hostname for your site.
2525
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26-
url: ""
26+
url: "https://blog.entysec.com"
2727

2828
github:
2929
username: entysec # change to your GitHub username
@@ -42,7 +42,7 @@ social:
4242
- https://github.com/entysec # change to your GitHub homepage
4343
# Uncomment below to add more social links
4444
# - https://www.facebook.com/username
45-
# - https://www.linkedin.com/in/username
45+
- https://www.linkedin.com/in/ivan-nikolskiy-42a918293
4646

4747
# Site Verification Settings
4848
webmaster_verifications:
@@ -159,7 +159,8 @@ kramdown:
159159
syntax_highlighter: rouge
160160
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
161161
css_class: highlight
162-
# default_lang: console
162+
default_lang: entysec
163+
line_numbers: false
163164
span:
164165
line_numbers: false
165166
block:
@@ -177,7 +178,7 @@ defaults:
177178
type: posts
178179
values:
179180
layout: post
180-
comments: true # Enable comments in posts.
181+
comments: false # Enable comments in posts.
181182
toc: true # Display TOC column in posts.
182183
# DO NOT modify the following parameter unless you are confident enough
183184
# to update the code of all other post links in this project.
@@ -200,7 +201,7 @@ compress_html:
200201
clippings: all
201202
comments: all
202203
endings: all
203-
profile: false
204+
profile: true
204205
blanklines: false
205206
ignore:
206207
envs: [development]

_includes/language-alias.html

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{% comment %}
2+
Convert the alias of the syntax language to the official name
3+
See: <https://github.com/rouge-ruby/rouge/wiki/List-of-supported-languages-and-lexers>
4+
{% endcomment %}
5+
6+
{% assign _lang = include.language | default: '' %}
7+
8+
{% case _lang %}
9+
{% when 'entysec' %}
10+
{{ 'Terminal' }}
11+
{% when 'applescript' %}
12+
{{ 'AppleScript' }}
13+
{% when 'brightscript', 'bs', 'brs' %}
14+
{{ 'BrightScript' }}
15+
{% when 'cfscript', 'cfc' %}
16+
{{ 'CFScript' }}
17+
{% when 'coffeescript', 'coffee', 'coffee-script' %}
18+
{{ 'CoffeeScript' }}
19+
{% when 'cs', 'csharp' %}
20+
{{ 'C#' }}
21+
{% when 'erl' %}
22+
{{ 'Erlang' }}
23+
{% when 'graphql' %}
24+
{{ 'GraphQL' }}
25+
{% when 'haskell', 'hs' %}
26+
{{ 'Haskell' }}
27+
{% when 'javascript', 'js' %}
28+
{{ 'JavaScript' }}
29+
{% when 'make', 'mf', 'gnumake', 'bsdmake' %}
30+
{{ 'Makefile' }}
31+
{% when 'md', 'mkd' %}
32+
{{ 'Markdown' }}
33+
{% when 'm' %}
34+
{{ 'Matlab' }}
35+
{% when 'objective_c', 'objc', 'obj-c', 'obj_c', 'objectivec' %}
36+
{{ 'Objective-C' }}
37+
{% when 'perl', 'pl' %}
38+
{{ 'Perl' }}
39+
{% when 'php','php3','php4','php5' %}
40+
{{ 'PHP' }}
41+
{% when 'py' %}
42+
{{ 'Python' }}
43+
{% when 'rb' %}
44+
{{ 'Ruby' }}
45+
{% when 'rs','no_run','ignore','should_panic' %}
46+
{{ 'Rust' }}
47+
{% when 'bash', 'zsh', 'ksh', 'sh' %}
48+
{{ 'Shell' }}
49+
{% when 'st', 'squeak' %}
50+
{{ 'Smalltalk' }}
51+
{% when 'tex'%}
52+
{{ 'TeX' }}
53+
{% when 'latex' %}
54+
{{ 'LaTex' }}
55+
{% when 'ts', 'typescript' %}
56+
{{ 'TypeScript' }}
57+
{% when 'vb', 'visualbasic' %}
58+
{{ 'Visual Basic' }}
59+
{% when 'vue', 'vuejs' %}
60+
{{ 'Vue.js' }}
61+
{% when 'yml' %}
62+
{{ 'YAML' }}
63+
{% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml', 'json' %}
64+
{{ _lang | upcase }}
65+
{% else %}
66+
{{ _lang | capitalize }}
67+
{% endcase %}

_plugins/entysec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def self.token(name, shortname, &b)
2121

2222
module Lexers
2323
class EntySecConsoleLanguage < Rouge::RegexLexer
24-
title 'entysec'
24+
title 'EntySec Console'
2525
tag 'entysec'
2626
desc 'EntySec Console Highlighter'
2727
filenames []
@@ -79,4 +79,4 @@ def self.keywords
7979
end
8080
end
8181
end
82-
end
82+
end

_posts/2021-07-28-denver-backdoors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Backdoor was found in a Denver SHC-150 Smart Wifi Camera by Ivan Nikolsky, secur
1818
1919
So, the telnet service, as Ivan noticed, has hardcoded credentials and after brute-forcing them he found out that the only thing which is needed to login is username - `default`.
2020

21-
```shell
21+
```console
2222
enty8080@Ivans-Air ~ % telnet 192.168.2.118 23
2323
Trying 192.168.2.118...
2424
Connected to pc192-168-2-118.
8.83 KB
Loading
30.2 KB
Loading
7.91 KB
Loading
554 Bytes
Loading
1.08 KB
Loading

assets/img/favicons/favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)