​
Showing posts with label based. Show all posts
Showing posts with label based. Show all posts

Tuesday, 25 July 2017

CrossOver 16 0 0 Released Based Wine 2 0 and Supports Microsoft Office 2013

CrossOver 16 0 0 Released Based Wine 2 0 and Supports Microsoft Office 2013




CrossOver Linux is a commercial product that provides Linux users with an easy way (yet expensive) to install various applications and games that run only on the proprietary Microsoft Windows operating systems.

Technically, the application is a GUI (Graphical User Interface) front-end for the well known Wine software, which provides a set of APIs and libraries to emulate several Microsoft Windows OSes on top of an open source Linux-based operating system.

Features at a glance

By default, the program comes with support for a very large selection of Windows applications, allowing users to install and use them without the need for a Microsoft Windows license. However, this does not mean that you won�t have to own a specific software license.

It is distributed as free for 30 days binary packages that support the Ubuntu 12.04 LTS or older distributions, Ubuntu 12.10 or newer, Linux Mint 14 or newer, Debian GNU/Linux Wheezy or any other distro that uses Debian packages, as well as Red Hat, Fedora and other RPM-based operating systems.



Whats new in CrossOver 16.0.0

Application Support:

  • CrossOver now supports Microsoft Office 2013!
  • Microsoft Office 2013 can be activated with either an Office 365 subscription or a product key.
  • Core Technology Improvements:
  • CrossOver 16 is based on Wine 2.0, with thousands of improvements to Windows compatibility across the board.
  • CrossOver now supports 64-bit Windows applications, with new bottle templates and 64-bit dependency management.

Bug Fixes:

  • Quicken 2014-2016 updates will now apply automatically during installation.
  • Fixed a bug which prevented saving very large files in Microsoft Excel 2010
  • Fixed a bug which prevented opening hyperlinks from documents in Microsoft Office 2010.
  • Shell folder links will now be updated when importing bottles into CrossOver from an archive file.
  • Fixed an audio bug which could cause Blizzard games to emit unwanted noises from the speaker.
  • Fixed a bug in Tencent QQ which caused the application to hang when adding a new contact.
  • Rollercoaster Tycoon 2 will display correctly again.


How to Install CrossOver on Ubuntu / Linux Mint and Other Platform :

To Install CrossOver 16.0.0 on Ubuntu 16.04 Xenial Xerus, Ubuntu 15.10 wily werewolf, Ubuntu 15.04 vivid Vervet, ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS), Linux Mint 18, Linux Mint 17.3 and other Ubuntu derivative systems, open a new Terminal window and bash (get it?) in the following commands:

Download trial version on this link : https://www.codeweavers.com/products/crossover-linux/download


or, open terminal and follow this command :
wget https://media.codeweavers.com/pub/crossover/cxlinux/demo/crossover_16.0.0-1.deb
and install deb package :
sudo dpkg  -i crossover_16.0.0-1.deb

After installation is finiahed, search CrossOver on Ubuntu dashboard


{ Read More }


Create a live system ISO for your Ubuntu based Linux machines using Systemback

Create a live system ISO for your Ubuntu based Linux machines using Systemback


Jack Wallen introduces you to an easy way to create live ISO images of your currently running Linux system with Systemback.
Systemback
You have that Linux desktop or server precisely how you want it and are interested in either creating a spot-on backup or a live ISO that you can then install on other (similar) hardware. How do you do it? You could go through the process of learning a number of commands to take care of the process, or you could install and use a handy tool called Systemback.
The Systemback tool allows you to create restore points, backups, and live images of a running system. Currently, it only works for Ubuntu derivatives based on 14.04, 14.10, and 15.04. It does, however, work like a champ (and does so quite easily).
I want to show you how to install and quickly make a live image of your current Linux system.

Installation

You wont find Systemback in the standard repositories, so you must first add the repo with the command:
sudo add-apt-repository -y ppa:nemh/systemback
Now, update apt with the command:
sudo apt-get update
Finally, install Systemback with the command:
sudo apt-get install systemback
Youll have to okay the dependencies before the install will begin. The dependencies will vary, based on what you have installed.
At this point, you should be able to start Systemback from the Unity Dash or your desktop start menu. You can also start Systemback from the command line with:
sudo systemback
You are now ready to create a live ISO.

Usage

Using Systemback is quite easy. From the main window (Figure A), select the location to house the ISO image (by clicking the ... button under Storage Location).
Figure A
Figure A
The Systemback main window.
Click the Live system create button and, in the new window (Figure B), give the live system a name, change the storage location (this location will need to have more than 4 GB of available space), and click Create new. You can optionally include user data files by checking the associated box.
Figure B
Figure B
Creating the live ISO image.
Note: If your .sblive file is larger than 4 GB, the conversion to a ISO is not possible. This is a file system limitation.
Depending on the size of your installation, the process will take some time to complete, so grab a cup of coffee or administer a server or two. After its installed, you should find an .sblive image in the defined storage location ready to convert to ISO. This image can either be written to a USB device or used to create a live ISO image. From the Created Live images window, select the image you want to convert, and then click Convert to ISO. When this process is completed, youll find the .iso file in the storage location ready to be written to disk. With that disk, you can then install the live image on other machines.
The best time to use Systemback is on a close-to-newly installed system. This is simply because of the file system size limitation. If youve installed too many applications on the system, the size will reach beyond 4 GB, and you wont be able to convert it. You can, however, still create restore points for a system. To create a restore point, first make sure youve selected a Storage directory, and then click the Create New button.
Once youve created a restore point, you can then go back to that restore point by simply selecting it from the left side of the window (Figure C) and then clicking System Restore on the right side.
Figure C
Figure C
Restoring from a restore point.
In the resulting window (Figure D), select the type of restore you want to do, if you want to include user configuration files, and click Next. This will begin the restore process.
Figure D
Figure D
Restore point options.
Systemback is a great way to create live images based on a pre-existing system and restore points in case you need to roll a Linux machine backward.
Do you administer or use Linux machines? If so, what do you use for your Linux backup/restore systems? Share your experience in the discussion thread below.

Source: http://www.techrepublic.com/article/create-a-live-system-iso-for-your-ubuntu-based-linux-machines-using-systemback/
{ Read More }


Thursday, 15 June 2017

Cookie based SQL Injection

Cookie based SQL Injection



Did you say a �Cookie� ?

A cookie, also known as an HTTP cookie, web cookie, or browser cookie, is used for an origin website to send state information to a user�s browser and for the browser to return the state information to the origin site. The state information can be used for authentication, identification of a user session, user�s preferences, shopping cart contents, or anything else that can be accomplished through storing text data.
Cookies are not software. They cannot be programmed, cannot carry viruses, and cannot install malware on the host computer. However, they can be used by spyware to track user�s browsing activities � a major privacy concern that prompted European and US law makers to take action. Cookies could also be stolen by hackers to gain access to a victim�s web account.

Where can I find my cookies?

Here is one way to get your stored cookies using your browser. This method is applied for Mozilla FireFox:
From the Tools menu, select Options.
>If the menu bar is hidden, press Alt to make it visible.
At the top of the window that appears, click Privacy.
>To modify settings, from the drop-down menu under �History�, select Use custom settings for history. Then enable or disable the settings by checking or unchecking the boxes next to each setting:
>To allow sites to set cookies on your computer, select Accept cookies from sites. To specify which sites are always or never allowed to use cookies, click Exceptions.
>To accept third-party cookies, check Accept third-party cookies. In the drop-down menu next to �Keep until:�, select the time period you wish to keep cookies on your computer.
>To view the cookies stored on your computer, click Show Cookies� . In the window that appears, you can view the cookies on your computer, search for cookies, and remove any or all of the listed cookies.
>To specify how the browser should clear the private data it stores, check Clear history when Firefox closes. Then, click Settings� . You can specify the items to be cleared when you close Firefox.
Click OK until you return to the Firefox window.
To remove all cookies, from the Tools menu, select Clear recent history� . Check the items you want to clear, and then click Clear Now.

Are you talking about a Cookie Poisoning-like attack?

Cookie Poisoning attacks involve the modification of the contents of a cookie (personal information stored in a Web user�s computer) in order to bypass security mechanisms. Using cookie poisoning attacks, attackers can gain unauthorized information about another user and steal their identity.
Cookie poisoning is a known technique mainly for achieving impersonation and breach of privacy through manipulation of session cookies, which maintain the identity of the client. By forging these cookies, an attacker can impersonate a valid client, and thus gain information and perform actions on behalf of the victim. The ability to forge such session cookies (or more generally, session tokens) stems from the fact that the tokens are not generated in a secure way.
To sum up, cookie-based SQL Injection is far to be a kind of Cookie Poisoning.
Cookie variables as a vector of SQL Injections:
SQL injection overview
A SQL injection attack consists of insertion or �injection� of a SQL query via the input data from the client to the application. A successful SQL injection exploit can read sensitive data from the database, modify database data (Insert/Update/Delete), execute administration operations on the database (such as shutdown the DBMS), recover the content of a given file present on the DBMS file system and in some cases issue commands to the operating system. SQL injection attacks are a type of injection attack, in which SQL commands are injected into data-plane input in order to effect the execution of predefined SQL commands.
All data sent by the browser to a Web application, if used in a SQL query, can be manipulated in order to inject SQL code: GET and POST parameters, cookies and other HTTP headers. Some of these values ??can be found in the environment variables. The GET and POST parameters are typically entered into HTML forms, they can contain hidden fields, i.e. information that is in form but not shown. GET parameters are contained in the URL and POST parameters are passed as HTTP content. Nowadays, and with the growth of Web 2.0 technologies, the GET and POST requests can also be generated by JavaScript.
Injecting malicious code in cookie:
Unlike other parameters, cookies are not supposed to be handled by users. Outside of session cookies which are (usually) random, cookies may contain data in clear or encoded in hexadecimal, base64, hashes (MD5, SHA1), serialized information. If we can determine the encoding used, we will attempt to inject SQL commands.
function is_user($user) {
global $prefix, $db, $user_prefix;
if(!is_array($user)) {
        $user = base64_decode($user);
        $user = explode(�:�, $user);
$uid = �$user[0]�;
$pwd = �$user[2]�;
} else {
$uid = �$user[0]�;
$pwd = �$user[2]�;
}
if ($uid != �� AND $pwd != ��) {
    $sql = �SELECT user_password FROM �.$user_prefix.�_users WHERE user_id=�$uid��;
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$pass = $row[user_password];
if($pass == $pwd && $pass != ��) {
return 1;
}
}
return 0;
}
The cookie contains base64 encoded form identifier, a field that is unknown and a password. If we use as a cookie 12345 �UNION SELECT� mypass �:: mypass base64 encoded, the SQL query becomes:
 SELECT user_password FROM nk_users WHERE user_id=�12345? UNION SELECT �mypass�
This query returns the password mypass, the same password as we have to provide. So we are connected.

How to inject the code in Cookies?
There are many HTTP interceptors and HTTP editors that can intercept the HTTP request before it is sent to the server. Then the tester can introduce his malicious SQL statement in the cookie field.
It�s like a get/post based SQL Injection, except that certain characters can�t be used. For
example, �;� and �,� are typically treated as delimiters, so they end the injection if they aren�t URL-encoded.

Limitations of  Web Application Vulnerability Scanners:
Web application vulnerability scanners are not always capable of detecting all of the vulnerabilities and attack vectors that exist.  In consequence, they may assert numerous false-negatives and false-positives. These were some of the results of a study named: �Closing the Gap: Analyzing the Limitations of Web Application Vulnerability Scanners� hold during the OWASP APPSEC DC 2010. The tests were based on many professional scanners:  Burp suite professional, Acunetix, Wapiti, Grendel-Scan, W3af, N-Stalker, CENZIC, netsparker.

As far as cookie variable�s injection is concerned, only 6,3% of the web application Vulnerability scanners had detected the implemented SQL injection vulnerabilities.
This rate looks like emphasize that the cookie vector is neglected when testing against SQL injections. Also, it�s very low comparing to percentage of the detection of SQL injection in Form Inputs (59,7%).

Conclusion
Cookie variables sometimes are not properly sanitized before being used in SQL query. This can be used to bypass authentication or make any SQL query by injecting arbitrary SQL code. For the web application audits, cookie variables should be added to the list of parameters to be checked.try it and hack the system 

{ Read More }


Thursday, 1 June 2017

Create A Tag Cloud Based On The Content of Your Blog or Website

Create A Tag Cloud Based On The Content of Your Blog or Website


make tag clouds online

Tag Clouds, you have seen them on delicious, Technorati or Flickr, are an easy way to get people explore your site deeper. Heres a sample tag cloud that uses Google AJAX Search.

Tag Clouds (provided they are not cluttered and display just the relevant words) help visitors quickly visualize what your website is all about since the topics you frequently cover are mentioned in bold or relatively bigger fonts.

WordPress community already offers some excellent plugins for generating tag clouds (like the Ultimate Warrior) plus the upcoming release, WP 2.3, has inbuilt support for tagging.

digital inspiration tag cloudHowever, if you are on Blogger or have a non-blog website, theres no reason that you should miss Tag Clouds.

Heres how to add a good looking tag cloud to your Blogger blog:

1. Type your Blogger feed address in RainMaker 

http://www.blogger.com/feeds/xyz/posts/default?max-results=999

Remember to replace xyz with your Blog ID. This URL will retrieve your latest 999 posts and supply that for analysis to RainMaker.

2. For the word link, type the following (where xxx is your blog name, e.g. labnol)

http://xxx.blogspot.com/search?q=%%enc_word%%

3. You can change the default font size, tag cloud dimension background image and colors to fit your site theme.

4. Now the tricky part. Once you have generated the tag cloud using RainMaker, right click over your tag cloud and click "View HTML source" - that the code you need to copy paste in your site.

Tip for Tag Clouds - If you really want visitors to spend more time on your site via Tag Clouds, always keep the number of words in Tag Cloud to an absolute minimum and that there is sufficient space around each word.

{ Read More }