SSH wormable, written in Bash, updates itself and hard to detect. The DarkRadiation ☢️ Ransomware

This new ransomware is cut from a different cloth. Let us discuss

  • SSH Wormable
  • Encrypts with AES (OpenSSL)
  • It mutates so anti-viruses can’t catch it
  • Bash
  • Still under development

https://www.trendmicro.com/en_us/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html

#developer

What is GEEK

Buddha Community

SSH wormable, written in Bash, updates itself and hard to detect. The DarkRadiation ☢️ Ransomware

SSH wormable, written in Bash, updates itself and hard to detect. The DarkRadiation ☢️ Ransomware

This new ransomware is cut from a different cloth. Let us discuss

  • SSH Wormable
  • Encrypts with AES (OpenSSL)
  • It mutates so anti-viruses can’t catch it
  • Bash
  • Still under development

https://www.trendmicro.com/en_us/research/21/f/bash-ransomware-darkradiation-targets-red-hat--and-debian-based-linux-distributions.html

#developer

Annalise  Hyatt

Annalise Hyatt

1594622280

Bash Heredoc and Using Heredoc with SSH

When writing shell scripts you may be in a situation where you need to pass a multiline block of text or code to an interactive command, such as [tee](https://linuxize.com/post/linux-tee-command/)cat, or [sftp](https://linuxize.com/post/how-to-use-linux-sftp-command-to-transfer-files/).

In Bash and other shells like Zsh, a Here document (Heredoc) is a type of redirection that allows you to pass multiple lines of input to a command.

The syntax of writing HereDoc takes the following form:

[COMMAND] <<[-] 'DELIMITER'
  HERE-DOCUMENT
DELIMITER

Copy

  • The first line starts with an optional command followed by the special redirection operator << and the delimiting identifier.
  • You can use any string as a delimiting identifier, the most commonly used are EOF or END.
  • If the delimiting identifier is unquoted, the shell will substitute all variables, commands and special characters before passing the here-document lines to the command.
  • Appending a minus sign to the redirection operator <<-, will cause all leading tab characters to be ignored. This allows you to use indentation when writing here-documents in shell scripts. Leading whitespace characters are not allowed, only tab.
  • The here-document block can contain strings, variables, commands and any other type of input.
  • The last line ends with the delimiting identifier. White space in front of the delimiter is not allowed.

Basic Heredoc Examples

In this section, we will look at some basic examples of how to use heredoc.

Heredoc is most often used in combination with the cat command.

#bash #bash heredoc #ssh

Annalise  Hyatt

Annalise Hyatt

1595303760

Bash Select (Make Menus) and Bash select Example

In this tutorial, we will cover the basics of the select construct in Bash.

The select construct allows you to generate menus.

Bash select Construct

The select construct generates a menu from a list of items. It has almost the same syntax as the [for](https://linuxize.com/post/bash-for-loop/) loop:

select ITEM in [LIST]
do
  [COMMANDS]
done

Copy

The [LIST] can be a series of strings separated by spaces, a range of numbers, output of a command, an array, and so on. A custom prompt for the select construct can be set using the PS3 environment variable.

When the select construct is invoked, each item from the list is printed on the screen (standard error), preceded with a number.

If the user enters a number that corresponds to the number of one of the displayed items, then the value of [ITEM] is set to that item. The value of the selected item is stored in the variable REPLY. Otherwise, if the user input is empty, the prompt and the menu list are displayed again.

Theselectloop will continue to run and prompt for user input until the[break](https://linuxize.com/post/bash-break-continue/)command is executed.To demonstrate how the select construct works, let’s take a look at the following simple example:

PS3="Enter a number: "

select character in Sheldon Leonard Penny Howard Raj
do
    echo "Selected character: $character"
    echo "Selected number: $REPLY"
done

#bash #bash select construct #bash select

I am Developer

1599275499

PHP Code for Update Data in MySQL Database - Tuts Make

php code for updating data in mysql database. Here, i will show you how to fetch and update data from mysql in php.

PHP Code for retrieve and update data form mysql database

  1. Step 1 - Connect to MySQL database
  2. Step 2 - Fetch data from the database
  3. Step 3 - Update data from database

https://www.tutsmake.com/php-code-for-update-data-in-mysql-database/

#how to edit data in php using form #how to update data in php using form mysqli #how to fetch and update data from database in php #php code for updating data in mysql database #php #update

Chando Dhar

Chando Dhar

1619799996

Deep Learning Project : Real Time Object Detection in Python & Opencv

Real Time Object Detection in Python And OpenCV

Github Link: https://github.com/Chando0185/Object_Detection

Blog Link: https://knowledgedoctor37.blogspot.com/#

I’m on Instagram as @knowledge_doctor.

Follow Me On Instagram :
https://www.instagram.com/invites/contact/?i=f9n3ongbu8ma&utm_content=jresydt

Like My Facebook Page:

https://www.facebook.com/Knowledge-Doctor-Programming-114082097010409/

#python project #object detection #python opencv #opencv object detection #object detection in python #python opencv for object detection