Showing posts with label Tutorial. Show all posts
Showing posts with label Tutorial. Show all posts

Friday, April 5, 2013

Javascript : Checkbox Validation



<html>

<head>
<script LANGUAGE="JavaScript">function ValidateForm(form){
ErrorText= "";if ( ( form.gender[0].checked == false ) && ( form.gender[1].checked == false ) ) 
{
 alert ( "Please choose your Gender: Male or Female" ); 
 return false;
  }
if (ErrorText= "") { form.submit() }
}
</script>
</head>
<body>

<form name="feedback" action="#" method=post>

Your Gender: <input type="radio" name="gender" value="Male"> Male

<input type="checkbox" name="gender" value="Female"> Female

<input type="checkbox" name="SubmitButton" value="Submit" onClick="ValidateForm(this.form)">

<input type="reset" value="Reset">

</form> 

</body>

</html>
Your Gender: Male Female

Thursday, March 28, 2013

Enable cURL in PHP in XAMPP, WAMP, Ubuntu and IIS Server



When running php scripts may be you have faces an error saying cURL not installed or not enabled. So to solve this error I'm giving you simple solution. Please follow the simple steps.

This will work for XAMPP, WAMPP or directly PHP (who are not using any software for server.)

For XAMPP :



  • Locate your XAMPP directory.
  • Open 'php.ini' file located at 'XAMPP\php\php.ini'
  • Now search for 'curl'.
  • Approximately on line no 952 you will get text like ';extension=php_curl.dll'
  • Now remove semicolon (';') from starting of line.
  • It is now 'extension=php_curl.dll'
  • Save file.
  • Restart Apache.


For WAMP : 

   Method 1 (Manually):
  • Locate WAMP directory
  • in WAMP directory open 'bin\php\php x.x.x'(according to your PHP version)
  • open 'php.ini' file. 
  • follow the same procedure as XAMPP from step 3.
   Method 2 :
  • Click WAMPP icon on system tray.
  • Select 'PHP > php extensions > php_curl' (see image)

For Ubuntu :

Run following command in Terminal.


sudo apt-get install php5-curl sudo service apache2 restart

And if you are not using any server above and using PHP with IIS server than follow the same procedure as XAMPP after locating 'php.ini' file in your PHP Installation directory.


Enjoy !


Saturday, March 2, 2013

Linux File System Explained



In the Linux operating system, all filesystems are contained within one directory hierarchy. The root directory is the top level directory, and all its subdirectories make up the directory hierarchy. This differs to other operating systems such as MS-Windows which applies a separate hierarchy for each device and partition.

  • /bin -- binary applications (most of your executable files)
  • /boot -- files required to boot (such as the kernel, etc)
  • /dev -- your devices (everything from drives to displays)
  • /etc -- just about every configuration file for your system
  • /etc/profile.d -- contains scripts that are run by /etc/profile upon login.
  • /etc/rc.d  -- contains a number of shell scripts that are run on bootup at different run levels. There is also typically an rc.inet1 script to set up networking (in Slackwar), an rc.modules script to load modular device drivers, and an rc.local script that can be edited to run commands desired by the administrator, along the lines of autoexec.bat in DOS.
  • /etc/rc.d/init.d -- contains most of the initialization scripts themselves on an rpm-based system.
  • /etc/rc.d/rc*.d -- where "*" is a number corresponding to the default run level. Contains files for services to be started and stopped at that run level. On rpm-based systems, these files are symbolic links to the initialization scripts themselves, which are in /etc/rc.d/init.d.
  • /etc/skel -- directory containing several example or skeleton initialization shells. Often contains subdirectories and files used to populate a new user's home directory.
  • /etc/X11 -- configuration files for the X Window system
  • /home -- locally stored user files and folders
  • /lib -- system libraries (similar to Program Files)
  • /lost+found -- lost and found for lost files
  • /media -- mounted (or loaded) devices such as cdroms, digital cameras, etc.
  • /mnt -- mounted file systems
  • /opt -- location for “optionally” installed programs
  • /proc -- dynamic directory including information about and listing of processes
  • /root -- “home” folder for the root user
  • /sbin -- system-only binaries (see /bin)
  • /sys -- contains information about the system
  • /tmp -- temporary files
  • /usr -- applications mainly for regular users
  • /var -- mainly logs, databases, etc.
  • /usr/local/bin -- the place to put your own programs. They will not be overwritten with upgrades.
  • /usr/share/doc -- documentation.
Enjoy...!!!

Monday, January 14, 2013

Windows8: Introduction & Features - Walkthrough



Microsoft has released Windows8 with great features and graphics compared to before released operating systems. But still some users are hanged on Windows XP and Windows7.  However Windows7 was also a great features.

Here below I have listed some features of  windows8 that has never seen before this operating system.

Charm Bar

            Charm bar is a bar given right side to window screen. It contains Search, Share, Start, Devices and Setting button.  This bar can be popup by hovering your mouse pointer to top-right or bottom-right corner of the window or by pressing Ctrl + C also popups charm bar. By opening it also displays battery info, Date and time on the left side.


 

 

 

Settings

             As windows8 made for Tablet touch interface so that here settings are also designed according to touch interface. Though we can use mouse pointer instead of finger if using on non-touch device. As shown in below figure. You can change Users, Wireless, Notification, Search, General etc settings. However, we can change all this settings from Control Panel as well as in Windows 7.

Start Menu

           Windows 8 comes with totally charming and beautiful Start Menu, this type of menu has never seen in before released operating systems. This is specially designed for touch devices, so that here all apps icon is presented as tiles. This start menu contains Mail, People, Calender, Store, XBOX, Skydrive, Flickr Photos, Videos, Music, Maps, Internet Explorer etc. apps.

          By opening this apps and synchronizing with your Gmail, Facebook, Skydrive or other account you can chat online friends of Google Talk or Facebook Chat with Messaging application. Photos, Calender, Videos, Mail also will be synchronized automatically. People app will show your Facebook friends and their profiles. Store app is Windows Store from which you can download windows8 apps and games as well.  There are lots features that you can explore by experience.

Some New Shortcuts

+ C   >> Charm Bar
 
 + (1,2,3,4,5,6,7,8,9)  >> Respected app on taskbar
 
+ Q        >>App Search 
 
 + W      >>  Setting Search 



More Screenshots





Tuesday, October 30, 2012

Classification of IP Addresses



What are IP Addresses ?

An IP address is an 32 bit decimal number that represents the identity of computer of device connected to internet. IP address is of combination of four group numbers separated by dot. e.g. xxx.xxx.xxx.xxx (here each group of number is between 1 to 255). 

Thursday, June 21, 2012

Move Torrent Jobs to Another Computer in Vuze



It's a tutorial about how you can move your uncompleted torrent job into another computer. Or you may need to format system and reinstall it but don't want to lost some downloaded data. Then here is a trick for you. Note that this trick is for Vuze users, future articles will be for bittorrent or uTorrent users.



  • Pre-conditions: Azureus (Vuze) will resume BitTorrent partials however they started, as long as:
  1. the downloaded data ("partials") are present on your hard disk drive (HDD) and
  2. you have the original .torrent file.





  • Process:
  1. Make sure you have the exact .torrent file of what you were downloading.
  2. Make sure you know the exact location of the partials on your HDD.
  3. Open the .torrent in Azureus (Vuze) via (this is very important) File ->> Open ->> .Torrent File (No Default Save)
  4. When asked where to save the file, point it to your partials. (See below image.)
    If the file has already been completely downloaded, you can change the "Add mode" to "Seeding", so that Azureus knows that you think that the file should be complete.
  5. Wait. It will take a few minutes to check the data.

Click to Enlarge
  • IMPORTANT NOTE: Azureus (Vuze) will tell you if a file with the same name already exists and will ask for your permission to check the file content's correctness. If the data in the already existing file is wrong, then it will get overwritten. So, if you try to use a different .torrent file, it is possible that you would erase the partial data you had downloaded.


Enjoy...!!!

Saturday, May 26, 2012

[Solved] Not able to install .Net Framework on Windows 8



Many of us are using Windows8, but few of them have faced .Net Framework problem.  Some application requires .Net Framework 3.5 but when you install it, it still some application ask to install it.

So, here is a solution. There are two ways mainly.
1. If you have fast internet connection then you can enable it through "Add or remove Features".
2. If you have not connected to internet then you can solve this using DISM.exe tool.

1. Through Add or Remove Features.
        
                Goto Control Panel > Programs > Programs and Features. Now click on "Turn Windows Features on or off" in the lest pane.
  
                Now check both ".Net Framework 3.5 (includes 2.0 and 3.0)" and ".Net Framework Advanced Services". Then click OK. (See below image)



2. Using DISM.exe tool

               Mount your Windows8 image into virtual drive or extract it into USB drive or insert Win8 DVD.

               Open cmd.exe as administrator.

               Now copy and paste below code in cmd.exe, then hit enter. (Here replace D: with your related windows 8 image path. Where you have extracted image either in USB drive or Virtual drive or in DVD.) (See below image.)





Enjoy...!!!

Thursday, May 3, 2012

Convert Torrent to HTTP or Direct Links (Download Torrents with Direct Links )



New sites available see below. 

If you are a torrent lover but on low speed connection then you probably have heard site name Torrific.com and used for direct downloading torrents. But as this site was gone all torrent lovers on low speed internet connection becomes upset because there are no other ways to download torrents via download managers or with direct link ( excepting bitlet.org [f**ky site] ). But for you i have find one solution similar to torrific.com.  Below sites are available to download torrents with direct links.


Furk.net


Furk.net is the website which allows you to leech torrents on their servers and then you can download it via download managers (e.g. Internet download manager or Orbit ). If a torrent file you are leeching is in a video format then after leeching you can stream it without downloading and they gives screenshots of video files. With the help of this you can determine that that torrent is good or fake. You can leech torrents of any size whether it's in MB's or GB's.


See below links that I have leeched torrents on furk.net (You may like)
Avata​r 3D 2009 1080p BluRa​y | 20.9 GB
Masseffect 3 Reloaded | 13.1 GB
Game of Thrones What is dead may never Die HDTV Xvid | 550 MB
Windows 8 Server Beta 64 bit.iso | 3.3 GB
All Andriod paid Apps | 3.2 GB
Adobe Creative Suite 5.5 Master collection | 5.1 GB
Call of Duty Black Ops [wii][NTSC] | 4.1 GB
Super Mario Galaxy 2 [Wii][PAL] | 4.4 GB


But one draw back is that you can only download at maximum speed of 150kbps. This links are not resumable it's also one more drawback.


If you don't know how to download from furk.net for free => Click Here.




ZBigZ.com


ZBigZ.com is also similar to torrific.com and furk.net. But another plus point is that you can download files with resume support. But speed limit is like furk.net is also here but when server load is low then you can download with high speed. Their terms says 8GB maximum files size limit for free user but when you put a big torrent then nothing will happen.  Premium users get only Unlimited speed support and unlimited storage time. I recommend free account b'coz it's enough for general user not for advanced.





UPDATE :

ZZLBox.com

zzlbox.com is new site available in the internet world for torrent downloading via accelerators. It's very amazing with faster speed of their servers.

It's in beta mode so you will face some problem in registration. If you have id registered in furk.net then try that id and password. May be that will work. Otherwise find invite code from someone ( who is user of furk.net ). 

After you have logged in you will find it's amazing site. It's UI is so easy and based on JS, so don't need to refresh page everytime.

Here below are some screenshots you will find it useful. 




UPDATE 2 :

Update 3 :

Sunday, April 22, 2012

How to : Free download from Furk.net



What is furk.net ? 


Furk.net is leeching site which allows you to upload your own files and you can leech torrents with this. Then you can download it with direct link. or in download manager also ( like Internet Download Manager or Orbit. )

Why furk.net ?


Because with furk.net you can download torrents with direct link. This site is very useful for those who are on slow network and proved useful for high speed network users too. With the help of this you can leech old torrents also, when there are very less seeders in torrent this is useful, they first download torrents with their powerful servers and then gives us direct link to downlaod.

How to download free from Furk.net ?

Below is a few screenshots. Please see carefully and follow the steps.

1. Find any file link of furk.net and goto there (like Windows 8 Server Beta -> https://www.furk.net/df/7414768a27359cd6 ).

2. Then click on Green button indicating 'Download'. Then Immediately click on "Free Download" . See image below.

3. Now wait for 60 seconds. If you don't want to wait then paste this link in addressbar of your browser 'javascript:startFreeDownload(10);'


4. Now after waiting your file is ready to download. Just Click on 'Download the file'.

Enjoy...!!!





Wednesday, February 8, 2012

Have dual boot & want to Uninstall Fedora and Keep Windows 7




I Have dual boot and want to Uninstall Fedora and Keep Windows 7.

  1. Shut down your Fedora system.
  2. Restart your system. During the boot delay time, hit the Up and Down arrow keys to select your Windows operating system, and hit Enter to boot from it.

Tuesday, February 7, 2012

Have Only Fedora & want to Uninstall Fedora and Install Windows XP/7




I Have only Fedora and want to Uninstall Fedora and Install Windows XP/7.

  1. Shut down your Fedora system.
  2. Now insert any linux distro cd which has live OS function.
  3. I recommanded to use Ubuntu cd.
  4. Now in menubar select System, then Administrative tools then Disk Utility.

Monday, February 6, 2012

Have dual boot & want to Uninstall Fedora and Keep Windows XP





I Have dual boot and want to Uninstall Fedora and Keep Windows XP.

  1. Shut down your Fedora system.
  2. Restart your system. During the boot delay time, hit the Up and Down arrow keys to select your Windows operating system, and hit Enter to boot from it.

Wednesday, January 25, 2012

Disable Registry Editing Restriction



When you are on someone's PC or on your friends PC you try to frustrate your friend by doing something in registry and you have also done sometimes but if your friend or the owner of that machine is bit wise, then when you try to open registry a pop up message opens saying that "Registry Editing has been disabled by your  administrator". Now what you will do. Here is a trick to open that lock.

Wednesday, January 11, 2012

An Intro to ETTERCAP - A multipurpose sniffer over switched LANs



Here is a brief intro to Ettercap a multipurpose sniffer over switched LANs. First read this post about What is Ettercap?, What is Man-in-the-Middle Attack? and something more interesting. We will learn how to use ettercap in next tutorial. For those who don't like command line interface, it's also provided with easy graphical interface.

Tuesday, January 3, 2012

How to: Extend your laptop's Wireless Antenna Range upto 16 Times - Tweak 1



I’ve been using a wireless Ethernet card in my laptop. But now the change from wired networking to wireless was an amazing shift. Now I could wander around my office or my home and connect to the Web. However, in many situations, I found that the range of the built-in antenna in the PC card was limited, and I desired additional range.

Wednesday, December 14, 2011

What is Footprinting ? Footprinting Basic



What is Footprinting ?

Footprinting is the first and most convenient way that hackers use to gather information about computer systems and the companies they belong to. The purpose of footprinting is to learn as much as you can about a system, its remote access capabilities, its ports and services, and the aspects of its security.

Introduction
Footprinting is the means by which hackers target an organization and use a remote access process to gather proprietary information relevant to organization’s Internet and network processors.They does "who is" queries which produce employee name,contace no,email and such important information.



What Hackers look for
The attacker first identifies the various domain names that he's interested in exploiting. He then performs a footprint analysis of the target to gather as much information as possible through publicly available sources. The footprint analysis gives the hacker an indication of how large the target might be, how many potential entry points exist.


One thing that hackers can usually disregard that you must pay particular attention to is what we techies affectionately refer to as layers eight and nine of the seven layer OSI Model-Politics and Funding. The amount of information that is readily available about you, your organization, its employees, and anything else you can image is nothing short of amazing.


Tools available for footprint
Port scanners: Port Scanners are used to determine which hosts are alive on the Internet, which Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) ports are listening on each system, and the operating system that is installed on each host.


Trace routes: Trace Route are performed to help identify the relationship
of each host to every other and to identify potential security mechanisms between the attacker and the target. 


Nslookup: Nslookup is a command line tool in Windows Platform that can be used to perform DNS queries and zone transfers. 


Tracert:  Tracert is a command line tool used by hackers to create network maps of the target
network presence. After the port scanning and trace routing is finished, attackers create a network map that represents their understanding of the target's Internet footprint. This map is used for the second phase of the attack: information enumeration.


Techniques used to footprint
  • DNS queries
  • Network enumeration
  • Network queries
  • Operating system identification
  • Organizational queries
  • Ping sweeps
  • Point of contact queries
  • Port Scanning
  • Registrar queries (WHOIS queries)
  • SNMP queries
  • World Wide Web spidering
Enjoy !!!


Tuesday, December 13, 2011

HI ALERT!!! New Trojan Spreading - SPQJSADSLA.EXE Get Details



Friends while i am surfing i got a new alert that my PC is infected. Suddenly one window opens with security shield title and it starts scanning it self, even i am not using any antivirus, or any antimalware.

Than i checked process in task manager and found the process of security shield, the process was xnlroiob.exe, then i try to find on internet but google says no result found.

I doubt that it's not any antivirus, surely it's a fake warning and virus or trojan or malware.

I think and again checked task manager, i found that one java.exe process is also running even i am not using any java application. Then i end the process and i amazed that, that security shield application was stopped working and i am not getting any warning any more.

After Search i found that this is a Trojan and giving fake warning to victims and running on java.

Then i started CProcess utility (from http://www.nirsoft.net/) and find the location of that fu*ky trojan. It was in my "C:\Users\Technoknol\AppData\Local\xnlroiob.exe". I tried to delete but when i close and reopen that location, it was there.

So, Beware friends it's the alert because i have faced the problem and i know how it's danger. Don't worry it's solution will be published when i win against that fu*ky.

Here below is a some reports and specifications of it. Read it carefully.



Details:
Group : Cloaked Malware

Country of Origin :  South Africa

First Seen on :  Dec 11, 2011

File Names : SPQJSADSLA.EXE, 43627076.EXE, 86145167.DAT, 65257416.EXE, TEST.EXE, xnlroiob.exe

File Size : 365,056 bytes (357 Kilo bytes)

File Type : EXE Executable

Affected Operating Systems : Windows

Friends this is the information i found on internet. Here below is a PREVX and VIRUSTOTAL report click and check it out.


http://www.freezepage.com/1323723846KMUNTLFQDD ( Virus Total Report Freezed Page )


Below is a Screenshots i've captured. If you have seen like this on your computer then you're infected beware when sufing.

1. This Screen in image says that such listed files are suspecious but i have checked but that was never shown as suspecious.


2.This windows says that your Internet Explorer is infected with Trojan Spy, and asking you to activate.
3. Whenever you click on any warning or anywhere it opens full screen window like below image.

 
4.  It opens a window looking as control panel-->Action Center (in Windows7).
5. The main window which first opens on my PC any starts scanning it self.
6. A window which says 9 viruses, 2 adware and 3 spyware detected and asking to remove all threats like any original antivirus.
7. and last a notification warning tells you that Spyware.IEmonster is detected and sending all your passwords.

And at last, have you noticed that, in 4th image close button is disabled when microsoft will never do that (ofcourse not in control panel) and it looks like control panel of windows7 , and in other images windows like Windows XP (I am using Windows7).


Enjoy !!!


Wednesday, August 24, 2011

How to Use Havij - A SQL Injection Tool - Tutorial



Here i Will tell you how to use A SQL Injection Tool - Havij



How to Use Havij:

First of All you have to find A Vulnerable Link. Then Paste it in "Target:" box in Havij









Now Click on Analyze to get site info and Database Name


    Then Click on "Tables" Button so you will show the database name.
    Now Select Database and Click on "Get Tables" Button. So you will get Tables Name.
    Now Select anyone Table which you want like Admin,Users,user,Administrator etc. And after this Click on "Get Columns".

    After processing you will get Columns then select any columns and Click on "Get Data" Button. You will get Data from that selected Columns.



    Download Havij:





    Havij 1.15
    http://www.easy-share.com/1917698386/Havij1.15Free.rar
    http://www.megaupload.com/?d=XYQ7BF3L
    http://hotfile.com/dl/127734306/c0a40e7/Havij1.15Free.rar.html

    Havij Help (PDF Format)
    http://www.megaupload.com/?d=XYQ7BF3L
    http://www.ziddu.com/download/16168508/havij_help-english.pdf.html
    http://hotfile.com/dl/127734315/4e9f6fd/havij_help-english.pdf.html


    Havij Help (CHM Format)
    http://www.ziddu.com/download/16168508/havij_help-english.pdf.html
    http://www.megaupload.com/?d=XYQ7BF3L
    http://hotfile.com/dl/127734319/71c7d4a/havij_help-english.chm.html

    UPDATE :

       OR  CLICK HERE

    Related Posts Plugin for WordPress, Blogger...