Flowchart: Calculate Power [Persian]

This flowchart explains how to calculate natural powers of a number, using consecutive multiplying of the number into itself.

There is also a complete flowchart (you can see below) which is designed to calculate negative zero, and positive powers of a number.
For more information, you can visit the PowerPoint slides here.
(Please note that the slides are in Persian. Contact me for an English version.)

All of the flowcharts are designed exclusively by me.

RandyCoder Encoding Tool

RandyCoder is a JavaScript encryption tool which lets you encode your codes easily.
This safe and exclusive algorithm makes decryption very hard for decoders.

Unlike other similar tools, RandyCoder’s algorithm has several key features, like making your source code completely hidden and prevent the output being uselessly large.
This tool also lets you modify all of the encoding’s config, and customize the output code. This feature is hardly seen for other tools.
All of the configurations are tested and the generated codes will work on all of known browsers (IE6+, FF, Chrome, …).
Please note that nothing can totally prevent scripts decryption, but you can make it hard by using professional tools.

« Click here to enter RandyCoder! »

Introduced in: | ۷ Learn | Monister | Pitac | ViroHosting |

New Domain

Domain Changed

Last Week I noticed that my old domain (Refoua.tk) has been expired for no reason!
Unfortunately, in addition to using this domain for my e-mail address, all of my projects and accounts contained this domain!

A few days ago I registered the new domain (Refoua.me) and moved all of my contents here from the old web host.
BTW, .me stands for myself. Cool, Isn’t it? 😉

I think all I can do now is changing the old address at any projects and accounts I’ve ever made and registered!

Click here to enter my blog



X-plore is one of the best and the most complete file managers for android devices, with wide range of functions.
With its easy and beautiful user-interface, both advanced users and newbies can use this powerful app to Copy, Move, Rename and Delete Files, Folders, compressed archives and even manage other Apps.

I have translated the official Persian Language for X-plore, which can be enabled in the Configuration menu


Android app on Google Play

Continue reading

Theme Update


I’m working a bit on blog’s CSS to make a new look for 2014. I was bored of the old style!
This theme is based on one of WordPress original themes, but I’ve changed some of its structures and designs.

I hope you like the new skin better.

DRS – SUpper

DRS - SUpper

DRS – SUpper is a mini PHP code which allows you to infect other php files to get an special command from your own server and execute it on other peoples hosts. Enjoy!

Get the script….

For example, you can append this code to the end of a WordPress plugin and put the infected plugin on your site for download. After installing the infected plugin by a user, a code will be executed on the victim’s host that will put an uploader script on it. Then you will be able to use this script to upload whatever your want on the victim’s server, such as shell scripts, which allows you to take a full control over it!

More information and the Instructions are included in the Readme.txt.

Update v1.2-b

  • Minor: fixed Ajax messages time-out.
  • Minor: fixed ajax log in config.

Update v1.2-a

  • Minor: fixed Ajax messages color.
  • Minot: Server links now open in a new tab.

Update v1.2

  • Improved Admin Panel log in Security.
  • The infected servers are logged once.
  • Added ability to remove disabled servers.
  • Using Ajax for a more easy panel.
  • A new skin is designed and icons are put for each part.

Update v1.1-a

  • Minor: admin.php is updated to fix using default values for the variables.

Update v1.1

  • Added Admin’s panel password changing support
  • Admin’s Panel in now more secure
  • New Graphic User-Interface
  • Small bug Fixes

Published In: | Attacker Security Team | Ashiyane Group Forum | Danger Security Team |

Wisebit Locker


WiseBit Locker v1.0 beta
The smartest solution for file encryption on the fly!

Using this useful app, you can encrypt your important files. With its exclusive algorithm, it’s able to combine two input strings (The Cipher Key and your file) bit-by-bit and create a binary output file.

This algorithm works based on XOR or (Exclusive Or) operator which has two key advantages:

  1. You can both encrypt and decode your file at the same time, using the same function.
  2. Technically due to its inherent, it’s practically impossible to recover the file without the proper Cipher Key.

The security operation has been also improved by using this exclusive algorithm.

Embedding source in your own app:
You can use this app for Private-Key Encryption Classes, although it’s not much recommended to directly use it for Public-Key Encryption Classes due to the high factor of its security; However you can embed it for creating salts.
Also, using the source code you can have a Real-time Encryption over your files.

Wisebit-Locker Click here to download the app…

Attention: The 1.1 version does not support decryption of the files encoded by the 1.0 version.

Note: This program is currently command-line and published only for Microsoft Windows. The GUI and support for other OSes will be added in the future.


The GUI will be available in the next version.

This program source code is available in PHP, JavaScript, Python, VB and some other programming languages.
Please contact me if you want to use its source in your own scripts:

Changelog v1.1:

  • This version’s encryption algorithm is more advanced and designed to prevent file decryption with similar passwords.
    (Unfortunately as a side effect, this reduces the encryption process speed.
  • Minor code modifications, some of the parts are changed.

Published In: | Attacker Security Team | Danger Security Team |



As you know, some of the scripts on a webpage may be encoded in so one can not directly edit or copy it. Therefore, you may need a tool to decode these encrypted scripts.

JSDecodeR is a fast and powerful tool which helps you decoding encrypted, packed and obfuscated JavaScripts codes! This tool is designed to decode most of these scripts, even if they are encoded several times and by multiple encoding tools.

« Click here to open the JSDecodeR! »

If you have any probelms or questions about the app, please visit the full article.

WARNING: This tool has to execute every script in the browser in order to decode it! If you think that the code could be dangerous, please use other similar tools which are provided in the full article.


This script is also available and hosted by: SourceForge Project’s Link
Introduced in these Persian forums: | 7Learn | Moisrex | ViroHosting |

Continue reading

App Museum

I have put here an archive of my old apps, which were created between 2005-2010. I’ve written most of them just for fun.

Please click here to browse my codes:
App Museum Files

Apps List:

JSnake Game Script

This is the classic Snake game which I’ve written using JavaScript ans some CSS3 for the designing.

Easy to personalize, theme design, internal code, and easy to play!

JSnake Main page

Demo – Play Now!

Any features can be added just by some few lines!
Any skins could be used with the powerful CSS3!
Any how can be played, either in a touch device, keyboard, joy stick, mouse, kinect, gyroscope, whatever. (Of course it needs external software.)

JSnake User Play

Tested and works in almost any browser.

Although The CSSes are written for webkit browsers (Chrome and Safari) at the moment.

More features will be add and bugs will be resolved soon in the future.

JSnake in demo mode

Map Design and Block types Help:
You can create a map using the Map Design toolbox. To do this, simply click on the block type you want to add, then click on the empty space you want to add the block.
Ctrl + Click will force the space to become that block type.
Double click will activate smart play. The snake will be automatically leaded to that point.

Types of Blocks:
Seed (Glowing green):
Gives the snake score and Increases the length.
Potion (Glowing pink): Can be defined to give Snake a super power, like crossing the blocks, or flashing the screen. Take a look at the source, It’s up to you.
Normal Block (Yellow): Avoid this kind of blocks. Game over is guaranteed!
Detour1 and Detour2 (Cyan): Forces the snake to turn around in a different direction.
Reverse (Purple): Replaces the snake’s head and butt.
Teleport (Blue): Transfers snake to another teleport station. Use two of this block type in your map.
Switch (Green or Red): Switches something on or off. For example, can hide Normal blocks temporarily.

After designing the map, you can generate a code for each type of block. Once again, click on the desired type into the toolbox, and then press “Generate Map”. Copy the code into a blank notepad file and do this for each of block types.

Download the source code

Contact me if you have any questions or suggestions!


This script is also available and hosted by: SourceForge Project’s Link | Your Javascript Source
Introduced in these Persian forums: | Majid Online | Pro Makers | Gem SoftP30 World | Persian Script | Moisrex | TakFal |

Setting up the New Weblog

This is the first post on my new personal weblog!
Due to the scattering of my websites on the net, I decided to register a new domain named refoua.tk in order to manage all of my websites and weblogs.
Hereafter, all of my contents in other old websites and weblogs will be moved here gradually.

Day Counter Script

MicroCounter-ENMicroCounter Script
v1.1 – fixed a bug which caused ignoring units and miscalculating.

This script is based on the below code. The main structures have been improved and various new features is supported. Also, new themes have been added.


DRS Day Countdown Default Theme Demo

Day Countdown and Count up Script

This script calculates the exact difference between the current day and the Target day which you have entered.
You can use this script both as a Day Countdown and a Normal Counter wherever you like.

The demo of this script is available here:

No new updates will be available for this script possibly. The MicroCounter Script will be at the development instead.


  • Countdown and Count up
  • Ability to calculate Years, Months, Weeks, Days, Hours, Minutes ans Seconds individually
  • Calculating the seconds completely correct without any delays
  • Ability to use a Server’s time instead of the client’s time
  • Cool default theme designs
  • Easy CSS Designing for the styles
  • Ability to define blinking mode style when changing the numbers
  • Easy to use in frames
  • and much more features by using desired Plug-ins.

Note: Although this script is compatible with JS Libraries such as jQuery, but it is not required to load these libraries in order to just use the script. Therefore, the total size of the script is less than a few kilobytes.

Some of the predefined themes:
(Click to open a demo of them)

Mini Counter

Circular Calculate

Seven Segments LCD

Glass Theme

Please Send me an email,
If you have any questions or trouble how to personalize this script.

This post is also published in these Forums:

Smart Ads Remover Script

NoAds-DRSSurely enough, you have noticed how lame and annoying some ads on the net are.
These adverts usually waste a lot of space on your screen; and they can be hardly useful for you, right?One of the problems of free host users are these useless adverts.
So I decided to write a efficient and useful code to remove these adverts.This code allows you to prevent the ads to open on your blog or website.

The script analyses the webpage for the possible places of adverts using the smart ad-scanning algorithm I’ve included in the main source, and make all of the found objects hidden. That way, it covers most of the service providers.

Attention: You are the one who is responsible for using this code!

« If you change even a small bit of the code, It won’t work! »

Get the Ads Remover Script:
Download Ads Remover Script

If this script is not correctly supported on your service provider or if you have any problem adding it, please don’t hesitate to contact me at my e-mail address: David@Refoua.me

Features: Unlike other similar scripts, this one has these features:

(Note: the * marked items are still in beta testing process and will be added to the future stable versions)

  1. Supports almost any websites and weblogs with just this code.
  2. * Ability to change the ads content, timing, position, theme and other options.
  3. * Ability to ask the user whether he/she wants each advert to open or not. (and respect to the service providers and users.)
  4. No need to jQuery or any other libraries, which means less size and more compatibility
  5. Finding the exact advert by its name, address, content, size and position of it.
  6. Quick remove, and preventing of re-opening until the page is open.

Update: V 1.5.1 Released

  • Fixed a possible mistaken WordPress link
  • Code now removes ads instantly due to changing tracker script’s behavior

Update: V 1.5.0 Released

  • Embedded the extra CSS styles into the source code to be sure the ads will be removed
  • Fixed Blogfa Prevention problem
  • Fixed very Minor Bugs

Update: V 1.4.0 Released

  • Also searching in href and id, in addition to classes
  • Added Ability to define ads keywords
  • Fixed RozBlog removing ads problem
  • Now adding styles directly in addition to class names
  • In Re-Packaged mode: Removed CSS styles. (You can still add them manually.)
  • Fixed Minor Bugs

Update: V 1.3.0 Released

  • Support for many new Service Providers
  • Added Ability to close the Ads in only the desired domains
  • Added Ability to put a delay before closing the Ads (To prevent Account Suspension)
  • Added Ability to chose which Ads not to close (in case you are using your own ads)
  • Fixed removing non-ads sidebars mistakenly in some cases.
  • Fixed Rozblog not closing the Ads problem
  • Code cleaned and have made simpler
  • More speed at finding the Ads and closing them

Update: V 1.2.1 Released

  • Support for Chata Service Provider

Update: V 1.2 Released

  • Supporting more service providers
  • Cleaned up a bit, it’s now more clear to read the source
  • Added Ability to find the advert from its dimensions
  • Total preventing of opening any new ads all the time
  • Fixed some minor bugs

Update: V 1.1 Released

  • Fixed some bugs
  • More providers support
  • Clean Up

Project: V 1.0 Released

  • Initial Project released, only supporting Blogfa

** The version 2.0 will be released for public access soon. **

Source Code:The source code is available at GPL license here: Get the No Ads, Please! Source

Note: Recently, I’ve seen some useless people steal my work and put their names instead of mine. Also, some of them are selling my codes to clueless people!
Please note that this code in written only by DRS David Soft, and not anybody else.
Also, I declare this code is for free. You should NOT pay any fee to get this code!

All of copyright violations are extremely prohibited and they will be punished under the law. For more information, please click here

I kindly ask you not to steal my codes.

Please do NOT copy this page on your blog / website!

This post is also available in these Persian forums:


BombPLoDeX is similar to a cool Trojan named W32Blaster which was spreaded a lot in the past. The differences are that it has a better design, and can not easily prevented by changing the time or executing the command shutdown -a !

This program is a simple virus that shuts down the computer after 24 seconds, if you don’t enter the correct password to deactivate.

This virus can also make the victim panicked by playing the famous 24 sounds for counting the seconds, flashing texts and playing an exploding animation if the bomb is not defused!

You can change the time before shutting down, the password to deactivate, and some other configuration, as you wish.

For example you might want to configure this virus to remove some needed files to boot the windows before shutting down. This way, Windows won’t be booted again, unless you repair it or install it again.

PLoDeX Main Screen

The process name is “csrss.exe”, which causes Windows XP to disallow killing it. Task Manager will be disabled, and also the program keeps itself on top.

If the victim tries to close the program without deactivating it, it will enable windows force auto shutdown which can not easily be deactivated by anybody. It also keeps time correctly and prevents the system to change it, so the timer won’t be interrupted.

To conclude all, once this program is opened, there is almost no way to disable it without entering the password!

The code name was “Warner” originally, but I published the beta version named “Bomber”. Finally I decided to name the project “PLoDeX”.


  • Download the Light version if you just want to turn off the PC and do no harms. Perfect to scare your friends!
  • Download the Malware version if you want to damage a PC by preventing it to boot properly. Perfect to tease your friends!

Download Lite Version (Harmless)

(No Harms will be done, It just Turns the PC off)

Download Malware Version (Harmful) + COOL Music

(Deletes Windows XP’s boot sectors and damage it)

This virus can not be recognized by most famous Antiviruses!

How to configure this program:

۱) Generate: Download the PLoDeX Config Maker. Enter the desired options and simply press Save.

Download the Config Maker Tool

۲) Manual: On the exact directory where PLoDeX is placed, create an empty file named “Config.DRS” containing these Lines:

IsTest32: Test mode, doesn’t turn off the computer. 0=disabled, 1=enabled
VisualEffects: Blinking the warning text, etc; or being static. OFF=disabled, ON=enabled
Password: The secret key used to defuse the bomb.
SecR and MinR: To declare the remaining time before shutting down.

Download Intrupt.dll.mp3 (Low-Frequency Noise) to embed in the source

New Bounce Levels

All of us know the famous and popular old game, Bounce from Nokia. This game was one of the most attractive games which has ever released.

You face some different paths to cross some hopes to finish each level. Sometimes during the game play, you need to highly concentrate on the level.

As you may know, The original Bounce game had just 11 levels. The Symbian series got 21 levels, and then, games like Bounce Back, Bounce Tales and 3D Bounce Touch were released.

But I’ve also created 5 more levels in continue to the original Bounce levels. You can play these new 5 levels of Bounce by Downloading this JAR file onto your mobile phone and install it.

۷۵ KB

Note: You can activate “No Game Over” cheat by pressing 787898 during playing a level.
Also, by pressing 787899 you’ll activate level skipping (press 1 and 3), finishing the level (press 5) and reverse gravity (press #).

I’m Currently working on an Android and an iOS version if the Bounce.
The new version has more features and a more cool design.
I will put it here as soon as I finish it.