Welcome to our New Forums!

Our forums have been upgraded and expanded!

Kundalini-Script | My Own Bash Library

BrightSpace666

Active member
Joined
Oct 27, 2021
Messages
927
Website
brightspace666.neocities.org
Today the Kundalini-Project has evolved - I have created something that can be really useful for programmers; Kundalini-Script. I'll cover a number of other things in this post, but I'll try to deconstruct it as briefly as possible.

Kundalini-Script is a Bash library. It contains scripts and functions that give a different feel to Bash. Kundalini-Script is still in its early stages, I will add more features.

I will demonstrate some features in this post for easier understanding.

The Kundalini-Project is becoming more and more popular; the Project's website [https://kundalini-project.neocities.org] has already been visited by thousands of people and this trend is only growing. My Project aims to promote JoS in addition to providing IT, programming and Cybersecurity skills; anyone who uses the Kundalini-Project's programs knows that there are references to Joy Of Satan and to the Forums in all of them.

In order to reach as wide an audience as possible, I am currently working on promoting this wonderful Project in programming and IT groups - with a mention of JoS, of course.

I feel it is morally right to state that everything I do, and everything I will ever do in the future, is loyal to JoS. I will not sell that at any price. Besides the Kundalini-Project, I have other works planned, such as the NSKP; I will write more about that later.

Also, my own personal website is attracting more and more visitors [https://brightspace666.neocities.org]. Everything that I have achieved with my work belongs to JoS; if 1 million people know about the Kundalini-Project, then 1 million people know about Joy Of Satan. It's a two-way street.

Let's take a look at some functions in Kundalini-Script; let's start with <ifthis>. <ifthis> is a validator functor - it checks the validity of the given input values. In case of a true case the result is TRUE [T], in case of a false case the result is FALSE [F].

[In the source code of Kundalini-Script, there is a usage guide called <<README>> next to each Script.]

For example, check if a file exists on the system with the name "FDBFDHBD", for example in the folder '/usr/share/'. Obviously this file will not exist, so the result will be "FALSE";

Code:
ifthis -ex /usr/share/FDBFDHBD

The return value is FALSE [F].

For the </etc/resolv.conf> file, for example;

Code:
ifthis -ex /etc/resolv.conf

The return value is TRUE [T].

The "-ex" is short for "exist". In a longer script, for example;

Code:
if [[ $(ifthis -ex /etc/resolv.conf | grep T) == "T" ]]; then

<your_commands> --your-params

else

<your_commands> --your-params

fi

This function is used to check the validity of input values and returns a value to the programmer. There are many other uses, I've just broken down one or two for ease of understanding.

<ifthis> has several parameters, you can see this in the source code. For example, if the condition is true and then you want to run commands;

Code:
ifthis -fol /usr/share/Kundalini-Script -exec "ls -l /usr/share/Kundalini-Script | grep -o ifthis"

After the "-exec" parameter, the commands must be enclosed in quotes, don't forget this.

Another function I'd like to introduce is "kout", which is a function that allows you to easily specify "outpot" for example if you want to download something. An example;

Code:
wget -q --https-only --no-cookies https://joyofsatan.org && kout -fo OUTPUTFILENAME

What we did here - we downloaded the <index> file of the JoS page, and simply saved that file to the "OUTPUTFILENAME" file. This is just a deconstruction of whatever filename you want to give it; I'll use terms like this for ease of understanding.

The "-fo" parameter in <kout> is used to abbreviate "File Output". For example, for messages;

Code:
kout -mo "\nBrightSpace666 From The Joy Of Satan." OUTPUTFILENAME

The "-mo" parameter is an abbreviation for "Message Output" - that is, "BrightSpace666 From The Joy Of Satan." was easily typed into "OUTPUTFILENAME".

The last function I want to introduce here is <kwhen>. In it is the name - "when". That is, when one value is different from another; greater/lower or anything else. An example;

Code:
if [[ $(kwhen -gr `cat /etc/hosts | wc -w` `cat /etc/resolv.conf | wc -w` | grep T) == "T" ]]; then

#In This Case, The Content Of </etc/hosts> Is Larger Than </etc/resolv.conf>, So This Is The True Statement

your_commands --your-params
else

#In This Case, The Content Of </etc/hosts> Is Shorter Than </etc/resolv.conf>, So This Is The False Statement

your_commands --your-params

fi

If one of these conditions is met, you can write additional commands. However, if the condition returns false [F], the command will exit automatically. An example of the true case;

Code:
kwhen -e 1 1 -exec "printf 'equal'"

In this example, this case is true because 1 is equal to 1. So, after these, the "-exec" parameter is short for "execute": that is, if the two conditions are true, the other commands will be executed. However, the remaining commands must be enclosed in quotes.

[I forgot to say that the "-exec" [EXECUTE] parameter can also be specified at <ifthis>. Or maybe I changed it afterwards - I don't know].

But you can check this equivalence any way you like, not just by two numbers;

Code:
kwhen -e $(cat -n FILE1) $(cat -n FILE2) -exec "your-commands --your-params"

The commands after "-exec" are run if the event is true; if the event is false, it returns 1, i.e. false, and the script exits automatically.

In Kundalini-Script, all Script/Functions start with "k"; here it is short for "Kundalini" [except <ifthis>].

At the time of writing this post, Kundalini-Script currently contains 9 Scripts [I removed one - I honestly don't know how many I wanted to show you] that can help you with your programming. Expanding is a systematic process - as I go forward, I will add more and more features. If you have any ideas that would be useful as functions, feel free to write or contact me as I'm interested.

About the Kundalini-Project License; if you want to place any of your work under the Kundalini-Project License, just download the "LICENSE" file via the link below [I may have forgotten to place the link] and place it in the folder where you created your program/software. From then on your work will be part of the "Kundalini Community Project".

However - all programs/software included in the Kundalini-Project and the "Kundalini Community Project" must be open source. If you don't want to publish the source for security reasons, you must send it to me to check if it contains malicious code.

To understand the Kundalini-Script functions, you can study their source; but you can also learn them using the <-help> parameter, for example "ifthis -help" - this is true for all of them. However, let's take a look at the installation of Kundalini-Script. At the bottom of this post you will find a Disroot Cloud link to download the <.tar.gz> file.

Then;

Code:
tar -xvf Kundalini-Script-666-v1.0.tar.gz && cd Kundalini-Script && sudo make install-666

The above code will install Kundalini-Script on your distribution. Now, when you program, you can use it in context. For example;

[/code]

Code:
#!/bin/bash

touch NEWFILE && kcp -uw `ls -Art | tail -n 1`

Well, Kundalini-Script is actually different from all the other Projects in Kundalini-Project because it is specifically for programmers. It is understandable that from this point of view, few people will use it; the aim is to increase efficiency, to increase and improve programming skills.

The source code is of course public; anyone without programming knowledge can view, study and learn from it. My other goal with Kundalini-Script is to create my own unique and Satanic Bash environment; the functions are currently written in Bash, but I have functions written in C.

For the future plans of the Kundalini-Project; I have prepared some PHP works for the Web, which I would like to deliver to SS. I think I have already mentioned these several times, so it is time to mention some of them by name;

Kundalini-Ask [Web, Encrypted]

Kundalini-Info [Anonymity-Checker]

Kundalini-Pass [Web]

Kundalini-Paste [Web, Encrypted]

More services are in the pipeline for the Web, but that's it for now. I also have several new programs in progress written in C and Bash, such as;

Kundalini-Mac

Kundalini-Wall

Kundalini-Calendar

Also, I'm updating several of my programs, such as Kundalini-Crypt [adding more encryption] or Kundalini-Browse.

That's all I wanted to say in this post. If you have any personal/information questions, feel free to email me.

Link [With the License] ->
Be Careful,

Sieg Heil!

BrightSpace666
 

Al Jilwah: Chapter IV

"It is my desire that all my followers unite in a bond of unity, lest those who are without prevail against them." - Satan

Back
Top