Archive for January 2014

HTML5 Mobile Web App Development And Website Development For The Future

With many development tools in the offing, developers are also trying to take advantage of their current skill-sets by leveraging HTML, CSS and JavaScript during the coding process. Some even use actual programming languages such as C or C++ for creating mobile applications. Native apps highlight the native features of mobile devices including the GPS, camera, contacts, accelerometer and the like.
Mobile Web App Development Tools
PhoneGap is a popular framework for developing cross-platform mobile apps with the help of HTML, CSS and JavaScript. The apps are made to make the best use of core features of the iOS, Android, Symbian and Blackberry platforms including geo-location, accelerometer, and other effects. PhoneGap helps create apps specific to a platform. The use of PhoneGap is popular when one needs to create apps for multiple platforms, while one can compile each app for the particular platform, even though basic coding standards are same for each platform.
Some cross-platform tools including Rhodes, which allow developers to develop native apps for all mobile platforms. One will have to compile the code for each of the platforms separately. Since the tool supports native features, it is an effective tool of app development. Rhodes is available for free under the MIT License. Cloud computing vendors on the other hand, like RhoHub help developers to create applications online without the need to install the latest SDK for each platform. These apps are based on HTML and Ruby and functional through the cloud platform.
The Portable HTML5 Web Apps
Recently developers have been keen to use application development using technologies which are compatible to all platforms. iUI, a tool present in the iPhone User Interface Framework, makes use of JavaScript, HTML and CSS for developing web applications for multiple browsers.
Sencha Touch is a popular HTML5 Mobile App Framework, powered by HTML5, CSS3, and JavaScript working with multiple platforms and HTML5-compliant web browsers. The technology supports touch events including pinching and stretching too. This is open-source software under the GNU GPL license v3. Sencha includes a tutorial featuring geo-location using its API and Google Maps for user's location traceability.
The Google Chrome Web Store is a marketplace for web apps built with standard web technologies and can be accessed and used through a compatible web browser. Web apps developed and available through the Chrome Web Store allows users to access them, through the web browser. No approval process is required for developers to go through, and no fee is levied to submit an application.
HTML5 web application development using CSS 3 will continue to be enhanced and supported although it is not touted to be the official standard for a decade owing to major clash with the makers of the HTML5 standard.

Thursday, January 23, 2014
Posted by Unknown

Styling the Canvas for Your HTML5 Browser Game

An important part of any game is how it is presented. Creating games is part of the entertainment industry and consumers want to have a great experience playing your games. A good game can lack success if its presentation doesn't convince the players to try it or doesn't motivate them to play more. Now keep in mind that presentation doesn't necessarily mean high-end graphics. There are some things that we can do using CSS.
The Browser as a Gaming Console
One thing I like to imagine when creating HTML5 games is the browser as a gaming console. When using this approach there are two things that immediately come to mind: a frame and a centered screen. With the help of a little CSS we can give our canvas a border and center it in the middle of the browser window. Moreover, if we would set a dark background color for the white space around the canvas we could have a nice looking game screen that will make a new visitor start playing.
Giving the Canvas a Border
The first thing we want to do is give our canvas a dashed border. You could also use a solid or dotted border, of course. However, I prefer a dashed one especially while developing the game. When you add the canvas tag to your webpage set the id to canvas, too. Now we can give it a border by writing the following CSS code: 1px dashed black. If you refresh your webpage now, you will see the canvas as a small rectangle in the top-left corner of your browser window.
Centering the Canvas
As you can imagine, even a great game isn't appealing if you have to play it in the top-left corner of your browser window. That's why we want to move the canvas to the center of our browser window. Again, we can do this using CSS code. The first thing we need to do is add a div tag around the canvas tag. We will give this div tag an id of "wrapper". Wrapper is a generic id name that is used a lot in web design to properly arrange elements on the website. Inside the wrapper is the main content which - in our case - is the canvas for our HTML5 game. Now we can center the wrapper and the game canvas inside of it. We do this by setting the width of the wrapper to 800 pixels and setting its margins to auto. It's important to give the wrapper a width else the auto margins won't center it.
There is only so much we can achieve using CSS. To program a HTML5 browser game and make it look even more professional we will need to work in JavaScript. The next step would be to resize the canvas and define its context as 2D. I will show you how to do this in my next post Canvas Size and Context in JavaScript.


Article Source: http://EzineArticles.com/8522408

Tuesday, January 21, 2014
Posted by Unknown

Introduction to HTML5 Game Programming

In this article I'll give you a brief introduction to HTML5 game programming, the most modern method to create browser games. With the release of HTML5 a new HTML tag, called the canvas, was introduced. This tag allows us to place a transparent canvas on a webpage and draw on it. If we draw, clean, and re-draw this canvas many times per second we are creating animations, which is eventually how we can create our HTML5 browser game. This summarizes HTML5 game programming pretty neatly. However, there's still more to it which I will cover in the following paragraphs.
The HTML5 Canvas API
Even though it's called HTML5 game programming, we actually program these types of browser games in JavaScript. The reason why it's called HTML5 is the canvas tag which I've mentioned above. As a matter of fact, the canvas is more than just a new HTML tag: It's an API for JavaScript. Thanks to this API we can use JavaScript to manipulate and modify the canvas and what we display inside the canvas on our webpage. For example, we can re-size it and draw shapes, colors and words inside of it. Moreover, we can even put images, videos and sounds inside of it. These canvas features combined with the skills of an experienced programmer can result in some amazing browser games.
What We Need to Create HTML5 Browser Games
So far I've mentioned the HTML5 canvas tag and JavaScript. However, there's more that we need to create such browser games: images, sound and CSS. The types of images you choose will determine the art style of your game. Most likely, you will have to hire a designer or buy the images for your game. Moreover, you will need sprites and sprite-sheets to animate characters, enemies and the environment in your game. Similar things can be said about the sound, which will set the mood of your game. However, images and sound are not specific to HTML5 browser games. In fact, they are necessary for any game.
Turning the Browser Into a Gaming Console
The future dream of HTML5 game progammers like myself is to turn our web browsers into a viable gaming console. Already with the tools that we have today we can achieve this. What we need for the future is the gamer community to start seeing the browser as a gaming console. For this reason, we must use CSS to style the canvas and give it a graphical user interface. The canvas is our game screen - like the screen of a TV or computer. If we want it to look like a gaming console, we can center the canvas in the middle of the browser window, resize it and design it nicely. To do all of this, we can use CSS or a mixture of CSS and JavaScript.
As you can see, nowadays we have all the tools at our disposal to create awesome browser games. The very first step is to create the canvas tag and add it to your webpage where your browser game will be running. For a step-by-step description including the code, you can continue reading my tutorial Creating Your HTML5 Game Canvas.

Sunday, January 19, 2014
Posted by Unknown

Cyber criminals targeting another cryptocurrency with malicious miners



Like Bitcoin, There are numerous other cryptocurrency similar in nature, including MasterCoin, ProtoShares, Litecoin, Peercoin, BitBar and many more.

One of them is Primecoin (sign: Ψ; code: XPM), a peer-to-peer open source cryptocurrency that implements a scientific computing proof-of-work system. Unlike Bitcoin or other virtual currencies, onlyPrimecoin provides a proof of work that has intrinsic value. It generates a special form of prime number chains, known as ‘Cunningham chains & bi-twin chains’ and has a real world importance in mathematical research.

Worldwide famous RSA Encryption basically uses two prime numbers for generating a RSA key pair. If you are able to factorize the public key and find these prime numbers, you will then be able to find the private key. Thus, the whole Security of RSA encryption is based on the length of prime numbers. So, Primecoin plays a great role for crypto researchers to get large... and a very large number of Primes.

Like other cryptocurrency miners, Primecoin miners are also available and in simple terms, just put your computer to work to find prime numbers chain and make money.

After Bitcoin, the increasing public attention of other cryptocurrency did not go unnoticed by the Cyber criminals who have begun unleashing Primecoin mining malware.

Mehrdad Yazdizadeh, a security researcher from antivirus firm 'Panda Security' told The Hacker Newsthat he has found few malicious Primecoin miners available on the Internet for Download from some Chinese websites and Torrents.
Cyber criminals targeting another cryptocurrency 'Primecoin' with malicious miners
"Primecoin miners are written in python and other scripting languages are using a variety of methods to infect the users' systems i.e. Brute-forcing, privilege escalation, modify SQL tables". He said.

Those infected systems can be used as a botnet network to perform further attacks. Another interesting feature of this malware is the ability to host SQL server through XP_cmdshell of MSSQL.

"On execution, the malware will inject the SQL server to cmd.exe, svchost.exe, explorer.exe and similar process to hide itself as rootkits" he added.
Cyber criminals targeting another cryptocurrency 'Primecoin' with malicious miners
Users affected by this malware will experience abnormally high CPU usage on their computers as a result of the infection.

Further analyses showed that the malware creates a process that call “sqlservr.exe”, pointing to another file i.e. “primecoin.conf”, which contains the credential and the IP address of the malware's master to communicate.

"Even if a user will delete sqlservr.exe or the conf folder, it will recover itself again and again. Also, malware is capable to enable the windows Guest account automatically" he said.

He found thousands of login (mostly failed to login) activities in a infected machine via the windows event, seems that Malware is facilitating the attacker to brute force the system user accounts for privilege escalation.
Cyber criminals targeting another cryptocurrency 'Primecoin' with malicious miners
He collected some of the attacker's IP addresses from where the brute-force attack was triggered:
59.53.67.154
59.53.67.154
59.53.67.13
58.218.199.248
58.218.199.248
23.91.24.39
23.228.193.83
23.228.193.82
222.78.223.84
222.214.218.50
222.163.193.37
220.178.30.230
220.178.30.230
220.178.30.230
216.99.158.69
216.99.150.238
Cyber criminals targeting another cryptocurrency 'Primecoin' with malicious miners
"I saw an attempt was made to reset an account's password. It tried to download more malicious files from other servers, " he said.

More features he noticed are:
  • Replicating itself through file systems
  • Killing the antivirus and security programs
According to the virus total report currently almost none of the Antivirus products are able to detect it:
Update: Mehrdad informed us that Panda Antivirus is now able to detect this malware. Users are advised to keep their system/networks behind the shield of Firewall/IPS/IDS and install 'Panda Cloud Cleaner' for remove this threat.
Friday, January 17, 2014
Posted by Unknown

- Copyright © Technology for World -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -