Tag: kali linux tutorial

  • 10 Tools to Generate and Have Fun With ASCII Art in Linux

    10 Tools to Generate and Have Fun With ASCII Art in Linux

    Linux terminal is not as scary as you think.

    Of course, it could be intimidating in the beginning but once you know the terminal better, you start loving it.

    You are likely to use the terminal for serious work. But there are many fun stuff you can do in the terminal as well.

    One of them is experimenting with ASCII art. You can display predefined or random messages, play games, or run some animation in ASCII format in the Linux terminal using various command line tools.

    My teammate Sreenath likes to explore such unusual CLI tools and share his findings with me. I am sharing those findings with you.

    ascii art tools linux

    Most of these programs should be available in the repositories of your Linux distribution. You can use your system’s package manager to install them. To keep the article concise, I have only included the installation instructions for Ubuntu.

    1. lolcat: Add colors to your terminal

    Alright! lolcat doesn’t have anything to do with ASCII art. At least not directly.

    Still, I included it at the beginning of this article because you can combine other ASCII tools with lolcat.

    So, what does it do? It is similar to the cat command but it adds random gradient colors to its output.

    lolcat

    It may not look useful at the moment but you’ll see its impact when the outputs of other ASCII tools are piped through lolcat.

    Install lolcat with the apt command:

    sudo apt install lolcat

    2. Aewan: Display ASCII text beautifully

    Aewan is a multi-layered ASCII graphics/animation editor. It produces stand-alone cat-able ASCII art files and an easy-to-parse format for integration into terminal applications.

    It has two tools: aewan, an ASCII editor and aecat, for viewing the created file.

    I am not going to discuss the editor part here.

    aewan initial layout
    Aewan ASCII editor

    To display any text in pretty ASCII format, you need the aecat command. Notice the use of letters in the screenshot below.

    aewan output

    To install aewan use the following command:

    sudo apt install aewan

    And then use it like this:

    aecat hello

    3. Cowsay: Make an ASCII cow say whatever you want

    What does the cow say? Whatever you want it to say.

    The cowsay is already a popular tool among seasoned Linux users. It shows an ASCII cow that repeats the text you provide it.

    cowsay

    But you are not restricted to cows only. You can change it to several other characters as well. Like a dragon (burning King’s landing):

    cowsay

    Did you notice the colored output in the above screenshot? That’s the magic of the lolcat command I mentioned earlier.

    To install cowsay, use:

    sudo apt install cowsay

    Once installed, you can use it like this:

    cowsay hello

    You can refer to its man page for additional configuration and options.

    4. jp2a: Convert images into ASCII art

    jp2a is a command-line tool that converts images to ASCII art in the Linux terminal. It works with JPEG and PNG files. It also allows colored output and your selection of character set to appear as ASCII image.

    jp2a

    You can install it using the following command:

    sudo apt install jp2a

    You can get the colorful output and save the ASCII text like this:

    jp2a --output=ascii.txt --colors input.png

    It’s not the only program of this kind. There is ascii-image-converter and several other tools that could be used for the same purpose. I won’t discuss all of them in this list.

    5. linuxlogo: Display the ASCII logo your Linux distro

    The name says it all. It displays the Linux logo in ASCII format.

    No, not our beloved Linux logo, Tux but the logo of your Linux distribution. It also shows a few additional information like Linux kernel version, CPU, RAM, hostname, etc.

    linux logo

    You can install it using the apt command:

    sudo apt install linuxlogo

    Just enter linuxlogo to use the command.

    6. Neoftech: Display the Linux logo along with system info

    The above linuxlogo command is too simplistic. You can amp it up by using Neofetch.

    It displays the distribution in a more pretty way along with several system information like kernel, uptime, desktop environment, theme, icons, etc.

    neofetch

    You can also parse it through lolcat to get rainbow-colored output.

    Install Neoftech using this command:

    sudo apt install neofetch

    And then just enter neoftech to run the command.

    There is also screenfetch, a similar tool to Neofetch. You can use either of them.

    7. fortune: Get your fortune told

    Just kidding! There’s no such thing.

    However, fortune cookies are still fashionable and apparently, people like to read random predictions or teachings.

    You can get a similar feature in the Linux terminal with the fortune command:

    fortune cookie linux

    You can install it using the following command:

    sudo apt install fortune

    Once installed, just enter fortune in the terminal to get a random message.

    8. pv: Make things animated

    This is a classic example of the unintended use of a Linux command. The pv command is used to monitor the progress of data through pipe.

    But you can use it to animate the output of any command. Combine it with some of the above-mentioned commands and you can see the ASCII art appearing on your screen as if it is being typed.

    Don’t get it? Watch this video:

    Install it using the following command:

    sudo apt install pv

    And then use it in the following manner:

    neofetch | pv -qL 200 | lolcat

    The higher the number, the higher will be the speed.

    9. cmatrix: Matrix like animation in ASCII

    Remember the cult geek move Matrix? The green falling code is synonymous with Matrix and hacking.

    You can run an ASCII simulation of the falling code in the Linux terminal with cmatrix command.

    I am sharing a screenshot instead of animation here.

    cmatrix

    You can install it with apt command:

    sudo apt install cmatrix

    Once installed, you can run it with:

    cmatrix

    It starts the animation immediately and it keeps on generating random green text falling and disappearing from the screen. The command keeps on running. To stop the running application, use the Ctrl+C keys.

    10. cbonsai: Grow a bonsai in your terminal

    Got a green thumb? How about growing an ASCII bonsai tree in the terminal?

    cbonsai is a fun Linux command that lets you run bonsai tree growing animation in ASCII format.

    I shared a YouTube Shorts of cbonsai command a few days ago.

    You can install cbonsai using:

    sudo apt install cbonsai

    And then to run the animation, use this command:

    cbonsai -l

    Try some more

    There are many more such fun CLI tools. Heck, there are ASCII games as well. It’s fun to use them at times to amuse people around you.

    Can you put these commands to some good use? Not certain about the usability, but you can add some of them in your .bashrc file so that the command is run as soon as you open a terminal session.

    Many sys-admins do that on shared Linux systems. A program like cowsay or figlet can be used to display a message or system info in a pretty way.

    You may also use some of these programs in your bash scripts, especially if you have to highlight something.

    There could be other usages of ASCII art in Linux. I let you share them with the rest of us here.

     

    5 reasons to use sudo on Linux

  • Nuclei Plugin For BurpSuite !!! Kali Linux

    Nuclei Plugin For BurpSuite !!! Kali Linux

     
    Nuclei Plugin For BurpSuite !!! Kali Linux

    Nuclei-Burp-Plugin is a BurpSuite plugin intended to help with nuclei template generation.

    Features

    Template matcher generation

    • Word and Binary matcher creation using selected response snippets from Proxy history or Repeater contexts
    • Multi-line selections are split to separate words for readability
    • Binary matchers are created for selections containing non-ASCII characters
    • The part field is auto-set based on whether the selection was in the request header or body
    • Every generated template auto-includes a Status matcher, using the HTTP status code of the response

    Request template generation

    • In the Intruder tab, selected payload positions can be used to generate request templates, using one of the following attack types: Battering ramPitchfork or Cluster bomb
    • The selected text snippet from an HTTP request under the Proxy or Repeater tab can be used to generate a request template with the attack type defaulting to Battering ram

    Template execution

    • Generated templates can be executed instantly, and the output is shown in the same window for convenience
    • The plugin auto-generates the CLI command, using the absolute nuclei path, absolute template path and target information extracted from the desired request
    • History of unique, executed commands are stored, can be quick searched and re-executed within the current session

    Experimental features

    • (Non-contextual) YAML property and value auto-complete, using reserved words from the nuclei JSON schema
    • Syntax highlighting of YAML properties, based on reserved words

    Productivity

    • Almost every action can be triggered using keyboard shortcuts:
      • F1: open nuclei template documentation
      • Ctrl + Enter: execute current template
      • Ctrl + Shift + E: jump to the template editor
      • Ctrl + L: jump to the CLI input field
      • Ctrl + R: show CLI argument helper
      • Ctrl + S: save the current template
      • Ctrl + Plus/Minus: increase/decrease font size
      • Ctrl + Q: quit
    • Tab support:
      • Ctrl + Tab or Ctrl + PageDown: open next tab
      • Ctrl + Shift + Tab or Ctrl + PageUp: open previous tab
      • Ctrl + [1-9]: move to n-th tab
      • Mouse Scroll Up/Down over the tabs: navigate to next or previous tab
      • Ctrl + W or Middle Mouse Button Click: close current tab
    • The template path is auto-updated if the template is saved to a new location
    • The template-id is recommended as file name when saving

    Settings

    • The plugin attempts to auto-detect and complete the configuration values
    • The code searches for the nuclei binary path, using the values from the process’s environmental PATH variable.
      Note: the BurpSuite binary, opposed to the stand-alone BurpSuite jar, might not have access to the current users’s PATH variable.
    • The target template path is calculated based on the default nuclei template directory, configured under <USER_HOME>/.config/nuclei/.templates-config.json
    • The name of the currently logged-in operating system user is used as a default value for the template author configuration

    Look and feel

    • The template generator window supports Dark and Light themes. The presented theme is chosen based on the selected BurpSuite theme, under User Options
    • Support for colored nuclei output
    • Modifiable font size in the template editor and command output

    Building the code

    Use mvn clean package -DskipTests to build the project yourself. It requires Maven 3.x and Java 11+.

    On MacOS the dependencies for the plugin can be met using Homebrew: brew install mvn openjdk@11

    Alternatively, different builds can be downloaded from the Actions section. The built artifact can be found under the latest build’s Artifacts section. These artifacts are generated after every commit, but are only stored for a limited amount of time.

    Installation

    • Build the code yourself or download a pre-built/release version
    • Go to Extender in BurpSuite
    • Click the Add button in the Extensions tab
    • Leave the Extension Type on Java
    • Select the path to the plugin (.jar)

     

  • Bitcoin and Binary Options Trading

    [ad_1]

    Binary options have been becoming more and more popular in the last 2 years. This type of trading has been desired among new traders as they don’t need to actually buy anything, just predict whether the asset will move up or down in specified time frame. Those trades are happening in short time frames (30 sec, 1 min, 5 min) but might be months too. If the trader predicted wrongly, they will obviously lose their money. If the trader was right in his/her prediction, they will receive 80-85% payout, depending on the broker.

    Binary options are sometimes referred to as ‘all-or-nothing options’, ‘digital options’, or ‘fixed return options’ (FROs), which are traded on the American Stock Exchange.

    Bitcoin (BTC) is a digital currency which is created and held electronically and no one controls it. “Bitcoin is an online payment system invented by Satoshi Nakamoto, who published his invention in 2008, and released it as open-source software in 2009. The system is peer-to-peer; users can transact directly without needing an intermediary.Transactions are verified by network nodes and recorded in a public distributed ledger called the blockchain. The ledger uses its own unit of account, also called bitcoin. The system works without a central repository or single administrator, which has led the US Treasury to categorize it as a decentralized virtual currency. Bitcoin is often called the first cryptocurrency… “

    Bitcoin as a currency in binary options trading

    Bitcoin is now widely used currency and many trading platforms accept it as a method of payment for their clients’ trading deposits. There are many benefits using Bitcoin as a currency. The first benefit is “the fact that the cost of transaction is the lowest among all forms of online payment. This is the very reason why Bitcoin was created in the first place, to lower the cost of online transaction. Since there is no central authority managing Bitcoin, no service fee is paid when receiving or transmitting payment.” Another reason for traders to use Bitcoin as a currency is that Bitcoin itself is tradeable and they can earn extra Bitcoins that way.

    “By having all the trading transactions denoted in Bitcoin, a trader is able to shield himself from the fluctuation of this crypto currency while at the same time earn more of it through profits earned in trading.”

    Bitcoin as a commodity in binary options trading

    With a recent popularity of Bitcoin and its acceptance as a currency, many binary options platforms started using Bitcoin as one of the currencies to trade. so as an asset. Stockbrokers are seeing the value in trading BTC against flat currencies, mainly versus American Dollar.

    Today there are 2 main types of Bitcoin binary options platforms:

    • First-generation brokers – binary options platforms that allow trading on Bitcoin
    • Second-generation brokers – platforms that offer both Bitcoin funding and Bitcoin trading

    First generation brokers – brokers who offer Bitcoin trading:

    • Coinut – only Bitcoin options exchange platform; programmed as a robust and distributed on Linux operating system coinut.com
    • BTClevels – Bitcoin binary options trading platform; with or without registration, hassle free btclevels.com
    • 24 Options – one of the first brokers who started offering BTC as an asset 24option.com

    Second-generation brokers – brokers who offer Bitcoin funding and trading:

    • Traderush binary platform – accepts BTC deposits traderush.com
    • Nadex trading platform -accepts BTC funding and allows BTC trading; offers limited risk, short-term trading, transparency and full regulated market nadex.com
    • Satoshi Option trading platform – accepts BTC funding and allows BTC trading; doesn’t require account registration neither personal details. Payouts are near instantaneous and the service is accessible from anywhere in the world satoshioption.com
    • BTCOracle platform – Bitcoin only platform – allows BTC funding and trading offering few wallet options and full transparency btcoracle.com
    • Bitstamp platform – As above, BTC only platform – allows BTC trading and funding but requires login bitstamp.net
    • Bitcoin Wisdom – allows trading 3 digital currencies, Bitcoins, Litecoins, Altcoins versus other flat currencies and requires login bitcoinwisdom.com
    • Beast Option – allows BTC funding and trading of Bitcoins and Litecoins; guarantees fairness in pricing regardless of market fluctuations beastoptions.com

    When choosing a Bitcoin broker it is important to check their terms and conditions, paying a particular attention to the information whether their Bitcoin Assets are stored in “Deep Cold Storage”. It means that Bitcoins are insured and stored offline, where they are not susceptible to hackers.

    [ad_2]

    Source by Bart Kali