JavaScript

112 Articles 0 Followers


Regex: checking user ipv4 input

19 Oct 2020 1 minute read 3 comments d-erf

Hello all!   Ok, it's regex time!   Further than just ipv4 check, it uses common regex knowledge and tips.   I will present you in a coming article tools to help creating, testing and coding in regex world.   For now, here are 4 javascript regexes to...

Nebulas – String Repeat Crash

11 Oct 2020 4 minute read 5 comments art_of_bug

Welcome to our next episode. Today we close Nebulas. The project failed to fix the vulnerabilities we reported previously, there was no official response to our attempts to contact its team. In at least one case a moderator of its subreddit deleted o...

Algorand developer: Migrate to v2 endpoint plus beginners' guide.

12 Sep 2020 4 minute read 0 comments Ddev

This post will walk you though how to upgrade to the latest version of Algod client as an existing Algorand developer if you have deployed an application using the algod v1Client as well, it is ideal for quick set up if you are new to the system. Be...

IOST – ArrayBufferAllocator Reusing Problem

12 Sep 2020 6 minute read 3 comments art_of_bug

Welcome back. Today we come back again to IOST. And again, today's report is on an already fixed vulnerability allowing the attacker to critically damage whole network with just sending calls to a specially crafted contract. The proof of knowledge is...

Legend of the Moon Stones - displaying text

27 Aug 2020 1 minute read 0 comments Quaro

In my simple pixel art project Legend of the Moon Stones I wanted, of course, pixel-perfect control over the displayed text, and I didn't want to mess with missing fonts, etc. So instead of using standard canvas text functions I decided to import my...

Legend of the Moon Stones - creating a Javascript videogame

25 Aug 2020 2 minute read 3 comments Quaro

Every summer I try to use my spare time for a new project. This year I decided to create a (very!) simple videogame to improve my javascript skills and put in some nice pixel art. The concept I wanted to keep it simple, and since most of the games a...

4 Books to learn JavaScript

1 Aug 2020 1 minute read 1 comment ryosuke

JavaScript (JS) was crafted in 1995 at Netscape as LiveScript. JavaScript is interpreted and run by a JavaScript engine. JavaScript is the programming language of HTML and the Web.JavaScript is easy to learn very expressive and very little setup over...

IOST – Timed Out Transaction Validation Problem

19 Jul 2020 7 minute read 2 comments art_of_bug

Welcome back. Today we come back to IOST. As we mentioned before, IOST team contacted us and we've been working together since. Today's report is on an already fixed vulnerability allowing the attacker to critically damage whole network with just sen...

Best practices in React and Flux

28 Jun 2020 1 minute read 0 comments Nithesh

Introduction React is a wonderful class library which can be used to develop rich client application by ensuring better performance. Flux is the architecture which gives the beauty of uni-directional data flow and immutability of data. React+Flux is...

How to Test Ethereum Smart Contracts for Access Restriction

11 Jun 2020 3 minute read 3 comments alexroan

Prerequisite: Ths article assumes an understanding of Solidity and Ethereum smart contracts. Controlling access to smart contracts is vital to ensuring security. Common patterns, like OpenZeppelin’s Ownable and AccessControl contracts, enable develop...