Programming with Juliar

October 7, 2015 | Views: 3242

Begin Learning Cyber Security for FREE Now!

FREE REGISTRATIONAlready a Member Login Here

Have you ever wanted to have a webtool that can help with security?

I created a simple language written in JavaScript that can be used to get you started with programming. One of the features of the language is its support for modules. There are two modules that I will go into: l33t.juliar and security.juliar, which are made specifically for security and ethical hacking.

Before doing so, I would like to get you guys familiar with the language itself. The advantage of *Juliar * is that it runs in your native browser. Therefore, you can run it on any computer that has Firefox, Google, Chrome, or some other modern browser.

 

Let’s get started:

  1. Head to https://github.com/juliarLang/juliar and click Download Zip.
  2. Once downloaded, extract the zip using your favorite zip software. I suggest using 7-zip if you are on Windows.
    You can run this software either on a server or just on your desktop. If you’re planning to make a webpage and use full potential of the language, I suggest that you extract the files to server.
  3. Once extracted, open index.html via the Google Chrome Browser (or your favorite modern browser).
  4. Once the page is loaded: at the top you should see the *Juliar * Logo with sample command outputs. At the bottom you should see a line. Click on it and you should be able to enter text! (We’ll call this command line.)

 

Alright, we’re ready to practice programming!

There are three things you must know about *Juliar *.

  • *Juliar * commands start with * + character and ends with just * .
  • Everything that’s not in *command * is treated as regular text to display.
  • Everything between *somecommand and * is considered the text that you want the function to modify upon.
  • For many functions you can use arguments. Arguments are usually optional and expand the use of the command. In *Juliar *, you will be able to add arguments by appending equal sign to the command. If you have multiple arguments, they must be separated by a comma i.e. *somecommand=argument1, argument2 texttomodify * We won’t go through any more about this topic in this tutorial, since this is meant to be only the intro to the language.

 

For this tutorial, I’ll introduce basics of the language.

Let’s do this:
enter “*commands *” (no quotes) and press enter. You will be able to see all available commands. Congratulations, you just wrote your one-liner program.

Let’s do something complex. Let’s say you want to display someone’s age (+/- 1 year), but you don’t want to do the math yourself. Programming is now your best friend. Type in:

Dan Brown’s age is *subtract 2015 1964 * This should display “Dan Brown’s age is 51”.

Yay! We did it. There are other math commands such as *add *, *subtract *, *multiply *, *divide *

Let’s use l33t.juliar module.
If you’ve been following from the beginning, in the command line type *import l33t * and press enter. This will import l33t library from juliar_modules/ folder. It should say something like imported l33t. Now, type in *commands * and press enter in the command line and in the list you should see *encode *

 

This concludes the first part of the tutorial. I hope you found it useful!

Share with Friends
FacebookTwitterGoogle+LinkedInEmail
Use Cybytes and
Tip the Author!
Join
Share with Friends
FacebookTwitterGoogle+LinkedInEmail
Ready to share your knowledge and expertise?
23 Comments
  1. @Hastings

    The main reason is this:
    https://www.cybrary.it/forums/topic/juliar-the-it-swiss-army-knife-toolkit/

    Juliar also provides interportability between languages i.e. you can have people write modules in Fortran, C/C++, Python, C#, etc… and it can be ported into Juliar which allows you to borrow calls from different libraries written in different languages.

  2. Hey, need to know why we should learn this language at first place. What is it that juliar achieves?

  3. @Mobizen From Julia Roberts ofcourse!

  4. Hi, nice project if well developed 🙂
    Hope to see the all of it.

    Just the question: where does the name comes from?

    Thanks for sharing

Page 4 of 4«1234
Comment on This

You must be logged in to post a comment.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel