Ads 468x60px

Saturday, October 13, 2012

How to Get Source Files from Website




How to Get Source Files from Website.
Okay, from time to time, we need to get websites source for some reason.
A very easy tutorial. so lets start



Step 1: Download Wget from HERE
And put it on the root of your operating system, most people have "C" So go there and 

make a new folder called wget. Inside only put the DOS command file.
Note: Click on Image to enlarge


Step 2: Open Command Box
In XP go to run and put CMD or command.com
In vista/7 Search for CMD and right click open as Administrator.




Step 3: In Cmd put "cd C:\wget" 
No quotes and if your main drive is not C put it as your main drive.

Post this command "wget -r -A.jpg" See how it says .jpg, you can make it the extension your trying to get. Right now it would take any file with the extension .jpg and download it. If you changed the command to your need





Step4  No certificate Check
Now after that you can space once and put the website or link/server you want to take from. 
It will check for safety and certificates

You Can Put --no-check-certificate 
to Avoide it

Step 5: Now you're set !!
Just press enter and watch the magic happen. You can use multiple wget at a same time.

Step 6:  Get Your Files
Now just go to the wget folder on C and open it. There should be a new folder of the website in there. Click on it and thats the files.

You will get all your downloded files in the same folder



Actual Working Of Code is like this :-

Code:

wget http://www.securitylabs.in
The file will be saved in /home/[user name]

NOTE: It will download just html, javascript etc... stuff like PHP won't be downloaded.








Sandboxie - Run Your Programs In An Isolated Space



Sandboxie runs your programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer.

What is Sandboxie?
Sandboxie is very useful to check whether or not a program is infected, you can also use it to test out your botnet. Sandboxie runs your programs in an isolated space which prevents them from making permanent changes to other programs and data in your computer. Observe the animation below.

Benefits of the Sandboxie
  • Secure Web Browsing: Running your Web browser under the protection of Sandboxie means that all malicious software downloaded by the browser is trapped in the sandbox and can be discarded trivially.
  • Enhanced Privacy: Browsing history, cookies, and cached temporary files collected while Web browsing stay in the sandbox and don't leak into Windows.
  • Secure E-mail: Viruses and other malicious software that might be hiding in your email can't break out of the sandbox and can't infect your real system.
  • Windows Stays Lean: Prevent wear-and-tear in Windows by installing software into an isolated sandbox.
Using Sandboxie
Open Sandboxie: Start > All Programs > Sandboxie > Sandboxie Control

Sandboxie Control > Sandbox menu

Run File: Right-Click Suspected File > Run Sandboxed


Observe Folders: Sandbox Default Box > All files and Folders
You can disable the program from accessing the internet, navigate to Sandbox settings for the option.


Note: Keep in mind that if you receive any error, and your program is unable to run in Sandboxie, it is most likely that it's a virus and has implemented Anti-Sandboxie. DO NOT RUN IT OUTSIDE SANDBOXIE! 

You can tell that a program is sandboxed because its window title bar contains additional Sandboxie [#] indicators

Once you are done with Sandboxie, Right-Click on the Sandbox and chose Terminate Programs. Also remember to empty your SandBox after every use by Right click > Delete Contents.


So use Sandboxie to run programs in a “safe” environment
Stay updated, stay Protected.

Bluetooth Hacking : control Your Friend's Mobile Using Bluetooth

Magic blue hack is Free mobile Bluetooth hacking software developed for j2me(Java S40) based  handsets. By using this Software You can Hack and Gain almost full acess of victim's Mobile. hack you can gain almost full control over the victim phone.



Installation and setup of magic blue hack is quite easy, hope you all knows how to install a software in mobile phone, you need  run this java application in Your phone
To connect to the other phone you need to run magic blue hack and search for the devices. Then select the target device you want to hack. Whats really sad about this application is that it asks the victim to accept the incoming connection, so it’s not really a hack in true sense of the word.
You can even make phone calls; put the call on hold or hang of the phone. Just enter the phone number you need to call and press the call button.
P-32756-p6wlWK5RtG-1.jpg (176×208)To send sms just enter the phone number of the person you want to send sms and write your text in the text box and then click the send message button. The charges for sending the sms will deducted from the hacked device.
Reading the phone book of the victim phone is also very easy but in some phones specially symbian, this feature is not working correctly and the new release of magicbluehack may solve this problem.


Despite being the intruder of privacy magic blue hack can't exactly be called as a hacking software as there is need for the victim to accept the incoming connection but hacking means bypassing the security parameters and sneak into the device without the owner even knowing about it. It should rather be put as toy software rather than hacking software.


Download Magic Blue Hack


Jar File || jad File

Wednesday, October 10, 2012

Right Template for Your Blog

More and more blogs are being created day by day, some withstand the test of time while some wither and die or just fade away. To prevent your blog from fading away, obviously you’ve got to provide quality and great content. Despite the importance of content, the look and feel of a blog also helps a lot in attracting
followers and having them always come back for more.

As one is new to the blogosphere, you feel satisfied with the default blogger templates. But as time goes on, you discover other blogs with cooler templates and the need to have a nice look for your blog. There are thousands of awesome templates out there and if you do not have a clear view of what you want, you’ll simply be faced with indecision or end up making the wrong choice.
In this post, I’ll be giving you some tips in choosing a blog template that suits the topic of your blog. I, as an individual, have tried out quite a number of blogger templates till date before I finally settled with the current one. Here are a few things I took into consideration:

1. What is the purpose of your blog or what niche are you targeting

KYD Evolution: Purpose
Is your blog a technology blog, a fashion blog, music, entertainment, gossip, lifestyle or any other specific category? By identifying your niche, you are a step closer to choosing that killer template.

2. What kind of message do you want to send?

By following the first step above i.e. identifying your niche, you already have an insight as to what you want your blog to look like. Do you want it to have a
formal, semi-formal or casual feel? You could also pick a color that you’ll prefer it to be. A 2-columned blog, 3-columned etc. Noting down these little details,you should already have a clear picture of what you want.

As long as you’ve followed the steps above, and you’ve got your jottings, selecting that perfect template will be far much easier and you’ll surely choose one that has the exact look and feel that your blog needs.
Follow these steps and I can assure you that you’ll definitely appreciate it. 

Friday, October 14, 2011

define in c Tutorial 2

 c preprocessor (Part 2)

 3.# undef
suppose you have something like this..

01# define x 4
02 
03# define x 5
04 
05int main(){
06 
07int z=x;
08 
09printf("%d",x); // output 5
10 
11}
although the output is 5 you can’t trust these type of declarations.If you want to redefine the same macro then first undefine it using #undef
correct way of doing
01# define x 8
02 
03# undef x // x is now unknown to compiler
04 
05# define x 9 // x is 9 now
06 
07int main()
08{
09 
10int z = x;
11 
12printf("%d",z); // output 9
13 
14}
so if you have your own macros and you are in doubt that their names can conflict with the macros defined in header files then first use # undef to undefine these macros.
1# undef conflictingname // undefining macro conflictingname in a headerfile.
2 
3# define conflictingname
4 
5int main()
6{
7// do some stuff here
8}
1# undef anyname // not an error
2int main()
3{
4// do some stuff here
5}
4.# pragma
The directive is a compiler specific directive which compiler vendors may provide .
1# pragma GCC poison x //variable cannot be used
2 
3int main(){
4 
5/*error x is poisoned .It cannot be used anywhere in GCC compiler system.*/
6 
7int x;
8 
9}
here GCC poison is called pragmas.Remember these are  compiler dependent.
So GCC poison will not work on microsoft compilers (will not give an error).You have to read manual of the compiler.
Predefined macro
1_LINE_
2_FILE_
3_TIME_
4_DATE_
5__STDC__
working example
01# define _LINE_ 98 // error predefined cannot be redefined
02int main()
03{
04// note this is __ not _
05printf("%d\n",__LINE__); // will output current line number
06printf("%s\n",__FILE__); // file name
07printf("%s\n",__DATE__); // date of execution
08printf("%s\n",__TIME__); // time of execution
09printf("%d\n",__STDC__); // Whether the compiler is standard conforming (1) or not
10}

Wednesday, October 12, 2011

Text to Image Converter tool

office Convert Word Txt to Image Jpg/Jpeg Free is a powerful and professional conversion tool, the converter produces fully functionalIMAGE documents with text, pictures, graphics etc, using the original document formatting.It can Create popular image formats as JPG,BMP,GIF,TIF,TGA,RLE,PNG,EMF,WMF from dozens of documents as Word (doc,docx,docm) rtf , Excel (xls,xlsx,xlsm), PowerPoint (ppt,pptx,pptm),txt with retaining the original style. More professional and easier interface is adaptable to everyone. You must like it as soon as you use it.


Download office Convert Word Txt to Image for Brothersoft

Features:

  • Convert Word (DOC,DOCX,DOCM), TXT, RTF to JPG,BMP,GIF,TIF,TGA,RLE,PNG,EMF,WMF.
  • Convert document to Vector format WMF.
  • Support drag and drop files.
  • Choose the entire folder to convert.
  • Intelligent processing of large files.
  • Easy to use. Convert with One Click.
  • Save the imported file list.
  • Create images with high good quality.
  • Process the conversion at very high speed.
  • It can automaticly view the output files after converted.
  • Provide the best service for you.

define in c Tutorial 1

# define a.k.a c preprocessor (Part 1)
The term can be little bit daunting but its use is very simple.It is a separate program invoked by the compiler as the first part of translation.The preprocessor can be thought as a smart editor.It Inserts,excludes,replaces text based on commands supplied by the programmer.In this case commands are made a permanent part of the source program
01/***** All are pre processor commands *****/
02# include
03# define pi 3.14
04# undef pi
05 
06/*******************************/
07int main()
08{
09// do sum stuff here
10}
for time being  do not bother what these commands do.Just see how they are used in the source program.
They are many more commands .we will see them one by one.

1) # include
The most common use of preprocessor is to include files containing declarations(header files).
#include contains declarations of all the functions used for input output.
# include will be replaced by the contents of filename.h
Ques: i have seen #include “filename.h” at many places.Is there any difference between the two?
yes there is one.
angled brackets means the preprocessor will search filename.h in standard include directory.
in my case it will be C:\Dev-Cpp\include.
if you have your file in any other location then you must specify the full path
for eg if location of file that i want to include is at “d:\folder1\filename.h” then i will write
1# include "d:\folder1\filename.h"
That is all for #include
2. # define
This is also the most widely used command plus it is risky too.
it can be used in two ways
a) to define a constant (replacement macro)
b) to simulate a function (function like macro)
first lets see a)
01# define x 123
02 
03# define y "hey"
04 
05int main(){
06 
07int i=x; //int  i=123
08 
09float j=x; // j is now 123.000000
10 
11x=5; // invalid x cannot be changed
12 
13printf(y); //
14 
15printf("%s",x);// undefined behavior
16 
17printf("%d",x);//valid
18 
19}
actually everywhere where x will appear it will be replaced by its corresponding replacement text
01# define x 123;
02 
03# define y while
04 
05int main()
06{
07 
08int i=x // valid it is equivalent to int i=123;
09 
10int a=0;
11 
12y(a<5){ //equivalent to while(a<5)
13 
14a++;
15 
16}
17 
18}
one last thing and that is very important
01# define x 10
02 
03# define y x+1 // must be # define y (x+1)
04 
05int main()
06{
07 
08int z =y*3; // equivalent to x+1*3 ==>10+1*3
09 
10printf("%d",z);// expected result 33 . Actual result 13 !
11 
12}
so always use parenthesis according to your precedence
lets look at b)
i.e how to simulate a function
simple protoype
1# define macro_name(parameter_list) (token expression)
2 
3//examples//
4# define square(x) (x*x) // there must be no space between -> macro_name and ( <-
5# define square (x)(x*x) // it is not a function like macro.It is a replacement macro
1# define square(x) (x*x) // 1st macro
2 
3int main(){
4 
5int area,length=5;
6 
7area = square(5); // 1st macro equivalent to area = (5*5)
8 
9}
1#define CALL(a, b) a b // macro
2int main(){
3 
4CALL(printf, ("%d %d %s\n",1, 24, "urgh")); // macro
5/* results in printf ("%d %d %s\n",1, 24, "urgh"); */
6}
you have to take care of the parenthesis. like
01# define square_incorrect(x) (x *x) // incorrect version
02 
03# define square_correct(x) ((x) *(x)) // correct version
04 
05int main(){
06 
07int a,b;
08 
09a=square_incorrect(3+7) // equivalent expression 3+7*3+7 result in 31 expected result 100 !
10 
11b=square_correct(3+7) // result in 100
12 
13}
There is something which i wanted to tell you.suppose you have a macro like
1# define f(x) f((x)+2)
how many times this replacement is done?
if you are replacing each time then this will go into infinite replacement
for eg
a call like this
f(2)
f((2)+2)
f(((2)+2)+2)
f((((2)+2)+2)+2)…
so these are not allowed
Note if the macro name results directly from replacement text then the replacement is not done more then one level
so the call
f(2)
f((2)+2) ->will stop here.
there is one last thing in function like macro called Stringizing
lets see what it is and how it works?
There is special treatment for places in the macro replacement text where one of the macro formal parameters is found preceded by #.the # and the token list are turned into a single string literal
01#define MESSAGE(x) printf("Message: %s\n", #x)
02 
03int main(){
04 
05MESSAGE (how are you);
06 
07/* above is equivalent to */
08 
09printf("Message: %s\n", "how are you")
10 
11MESSAGE (how are "you");
12 
13/* above is equivalent to */
14 
15printf("Message: %s\n", "how are \"you\"") // " or \ characters within the new string literal are preceded by \
16 
17}
hope you are fine until now.Rest we will see in next section.
Related Posts Plugin for WordPress, Blogger...
 

Sample text

Sample Text