diff --git a/_config.yml b/_config.yml index c7ef17c..ac1b3a1 100644 --- a/_config.yml +++ b/_config.yml @@ -23,7 +23,7 @@ description: >- # used by seo meta and the atom feed # Fill in the protocol & hostname for your site. # E.g. 'https://username.github.io', note that it does not end with a '/'. -url: "" +url: "https://blog.entysec.com" github: username: entysec # change to your GitHub username @@ -42,7 +42,7 @@ social: - https://github.com/entysec # change to your GitHub homepage # Uncomment below to add more social links # - https://www.facebook.com/username - # - https://www.linkedin.com/in/username + - https://www.linkedin.com/in/ivan-nikolskiy-42a918293 # Site Verification Settings webmaster_verifications: @@ -159,7 +159,8 @@ kramdown: syntax_highlighter: rouge syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options css_class: highlight - # default_lang: console + default_lang: entysec + line_numbers: false span: line_numbers: false block: @@ -177,7 +178,7 @@ defaults: type: posts values: layout: post - comments: true # Enable comments in posts. + comments: false # Enable comments in posts. toc: true # Display TOC column in posts. # DO NOT modify the following parameter unless you are confident enough # to update the code of all other post links in this project. @@ -200,7 +201,7 @@ compress_html: clippings: all comments: all endings: all - profile: false + profile: true blanklines: false ignore: envs: [development] diff --git a/_includes/language-alias.html b/_includes/language-alias.html new file mode 100644 index 0000000..d723b90 --- /dev/null +++ b/_includes/language-alias.html @@ -0,0 +1,67 @@ +{% comment %} + Convert the alias of the syntax language to the official name + See: +{% endcomment %} + +{% assign _lang = include.language | default: '' %} + +{% case _lang %} + {% when 'entysec' %} + {{ 'Terminal' }} + {% when 'applescript' %} + {{ 'AppleScript' }} + {% when 'brightscript', 'bs', 'brs' %} + {{ 'BrightScript' }} + {% when 'cfscript', 'cfc' %} + {{ 'CFScript' }} + {% when 'coffeescript', 'coffee', 'coffee-script' %} + {{ 'CoffeeScript' }} + {% when 'cs', 'csharp' %} + {{ 'C#' }} + {% when 'erl' %} + {{ 'Erlang' }} + {% when 'graphql' %} + {{ 'GraphQL' }} + {% when 'haskell', 'hs' %} + {{ 'Haskell' }} + {% when 'javascript', 'js' %} + {{ 'JavaScript' }} + {% when 'make', 'mf', 'gnumake', 'bsdmake' %} + {{ 'Makefile' }} + {% when 'md', 'mkd' %} + {{ 'Markdown' }} + {% when 'm' %} + {{ 'Matlab' }} + {% when 'objective_c', 'objc', 'obj-c', 'obj_c', 'objectivec' %} + {{ 'Objective-C' }} + {% when 'perl', 'pl' %} + {{ 'Perl' }} + {% when 'php','php3','php4','php5' %} + {{ 'PHP' }} + {% when 'py' %} + {{ 'Python' }} + {% when 'rb' %} + {{ 'Ruby' }} + {% when 'rs','no_run','ignore','should_panic' %} + {{ 'Rust' }} + {% when 'bash', 'zsh', 'ksh', 'sh' %} + {{ 'Shell' }} + {% when 'st', 'squeak' %} + {{ 'Smalltalk' }} + {% when 'tex'%} + {{ 'TeX' }} + {% when 'latex' %} + {{ 'LaTex' }} + {% when 'ts', 'typescript' %} + {{ 'TypeScript' }} + {% when 'vb', 'visualbasic' %} + {{ 'Visual Basic' }} + {% when 'vue', 'vuejs' %} + {{ 'Vue.js' }} + {% when 'yml' %} + {{ 'YAML' }} + {% when 'css', 'html', 'scss', 'ssh', 'toml', 'xml', 'yaml', 'json' %} + {{ _lang | upcase }} + {% else %} + {{ _lang | capitalize }} +{% endcase %} diff --git a/_plugins/entysec.rb b/_plugins/entysec.rb index cac907a..6e2e72b 100644 --- a/_plugins/entysec.rb +++ b/_plugins/entysec.rb @@ -21,7 +21,7 @@ def self.token(name, shortname, &b) module Lexers class EntySecConsoleLanguage < Rouge::RegexLexer - title 'entysec' + title 'EntySec Console' tag 'entysec' desc 'EntySec Console Highlighter' filenames [] @@ -79,4 +79,4 @@ def self.keywords end end end -end \ No newline at end of file +end diff --git a/_posts/2021-07-28-denver-backdoors.md b/_posts/2021-07-28-denver-backdoors.md index a7b416d..ab1e3cf 100644 --- a/_posts/2021-07-28-denver-backdoors.md +++ b/_posts/2021-07-28-denver-backdoors.md @@ -18,7 +18,7 @@ Backdoor was found in a Denver SHC-150 Smart Wifi Camera by Ivan Nikolsky, secur 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`. -```shell +```console enty8080@Ivans-Air ~ % telnet 192.168.2.118 23 Trying 192.168.2.118... Connected to pc192-168-2-118. diff --git a/assets/img/favicons/android-chrome-192x192.png b/assets/img/favicons/android-chrome-192x192.png new file mode 100644 index 0000000..2bd2a57 Binary files /dev/null and b/assets/img/favicons/android-chrome-192x192.png differ diff --git a/assets/img/favicons/android-chrome-512x512.png b/assets/img/favicons/android-chrome-512x512.png new file mode 100644 index 0000000..96a489a Binary files /dev/null and b/assets/img/favicons/android-chrome-512x512.png differ diff --git a/assets/img/favicons/apple-touch-icon.png b/assets/img/favicons/apple-touch-icon.png new file mode 100644 index 0000000..ee9ba3a Binary files /dev/null and b/assets/img/favicons/apple-touch-icon.png differ diff --git a/assets/img/favicons/favicon-16x16.png b/assets/img/favicons/favicon-16x16.png new file mode 100644 index 0000000..5e04d54 Binary files /dev/null and b/assets/img/favicons/favicon-16x16.png differ diff --git a/assets/img/favicons/favicon-32x32.png b/assets/img/favicons/favicon-32x32.png new file mode 100644 index 0000000..e2cc163 Binary files /dev/null and b/assets/img/favicons/favicon-32x32.png differ diff --git a/assets/img/favicons/favicon.ico b/assets/img/favicons/favicon.ico new file mode 100644 index 0000000..c92e7cc Binary files /dev/null and b/assets/img/favicons/favicon.ico differ diff --git a/assets/img/favicons/site.webmanifest b/assets/img/favicons/site.webmanifest new file mode 100644 index 0000000..45dc8a2 --- /dev/null +++ b/assets/img/favicons/site.webmanifest @@ -0,0 +1 @@ +{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/assets/main.css b/assets/main.css index 0d8e970..98195a0 100644 --- a/assets/main.css +++ b/assets/main.css @@ -1,5 +1,16 @@ -.language-mermaid .label { - text-transform: inherit; +div { + &.nolineno, + &.language-cisco_ios, + &.language-entysec { + td:first-child { + padding: 0 !important; + margin-right: 0; + + .lineno { + display: none; + } + } + } } .language-entysec .zp { @@ -24,4 +35,4 @@ .language-entysec .zw { color: orange; -} \ No newline at end of file +}