Advertisement
JokerLjnk

etrtret

May 30th, 2015
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.00 KB | None | 0 0
  1. <?php
  2. include("firewall.php");
  3. function index() {
  4. echo '<head><title>..:: > Firewall < ::..</title><link rel=\"shortcut icon\" href=\"http://blogs-images.forbes.com/thumbnails/blog_1011/pt_1011_5662_o.jpg\" /></head>';
  5. echo '<body bgcolor=black>';
  6. echo '<center><font color=blue size=4><div style=\"margin-top: 5px; font-weight: bold; text-shadow: 10px 10px 10px black;\">..:: > Firewall Anti DDOS < ::..</div></font></center></br>';
  7. echo '<center><img src=http://fc06.deviantart.net/fs71/f/2015/018/4/7/475685e2abeacc37d9e1307351eb149f-d515ebr.gif Width=150 Height=150></img></center></br>';
  8. echo '<center><font color=blue size=4><div style=\"margin-top: 5px; font-weight: bold; text-shadow: 10px 10px 10px black;\">IP : '.$_SERVER['HTTP_X_FORWARDED_FOR'].'</div></font></center></br>';
  9. }
  10. //////////////////////////////
  11. if (!isset($_SESSION)) {
  12. SESSION_START();
  13. }
  14. if ($_SESSION['last_session_request'] > TIME() - 2) {
  15. header("location:/");
  16. }
  17. $_SESSION['last_session_request'] = TIME();
  18. //////////////////////////////
  19. $arr = array(
  20. $_SERVER['HTTP_X_FORWARDED_FOR'],
  21. $_SERVER['HTTP_ACCEPT'],
  22. $_SERVER['HTTP_ACCEPT_CHARSET'],
  23. $_SERVER['HTTP_ACCEPT_aENCODING'],
  24. $_SERVER['HTTP_ACCEPT_LANGUAGE'],
  25. $_SERVER['HTTP_CONNECTION'],
  26. $_SERVER['HTTP_HOST'],
  27. $_SERVER['HTTP_REFERER'],
  28. $_SERVER['HTTPS'],
  29. $_SERVER['HTTP_USER_AGENT']
  30. );
  31. ///////////////////////////////
  32. if (strlen($arr[0]) > 15) {
  33. header("location:");
  34. }
  35. elseif ($arr[1] == "") {
  36. header("location:/");
  37. }
  38. elseif ($arr[2] != "") {
  39. header("location:/");
  40. }
  41. elseif ($arr[3] != "") {
  42. header("location:/");
  43. }
  44. elseif ($arr[4] == "") {
  45. header("location:/");
  46. }
  47. elseif ($arr[5] == "") {
  48. header("location:/");
  49. }
  50. elseif ($arr[6] == "") {
  51. header("location:/");
  52. }
  53. elseif ($arr[7] != "") {
  54. header("location:/");
  55. }
  56. elseif ($arr[8] != "") {
  57. header("location:/");
  58. }
  59. elseif ($arr[9] == "") {
  60. header("location:/");
  61. }
  62. else {
  63. index();
  64. }
  65. ?>
  66. <script type="text/javascript">
  67. (function(){
  68. var global = this;
  69. var globalName = 'starField';
  70. var numberOfStars = 300;
  71. var depthDimentsion = 2000;
  72. var viewingDepth = 0.0001;
  73. var forwardVelocity = 0.3;
  74. var d = depthDimentsion*(viewingDepth/30);
  75. var planeDepth = depthDimentsion - d;
  76. var fv = planeDepth*(forwardVelocity/30);
  77. var zMultiplier = (depthDimentsion)/d;
  78. var starObjs, starHTML;
  79. var posMod, sy, sx, windowCenterY, windowCenterX;
  80. var scaleXAdjust, scaleYAdjust;
  81. if((document.layers)&&(this.Layer)){
  82. starHTML = [
  83. '<layer id=\"stars','',
  84. '\" left=\"0\" top=\"0\" width=\"1\" height=\"1"',
  85. ' bgColor=\"#FFFFFF\"><\/layer>'];
  86. }else{
  87. starHTML = [
  88. '<div id="stars','',
  89. '" style="position:absolute;width:1px;overflow:',
  90. 'hidden;height:1px;background-color:blue;',
  91. 'font-size:1px"><\/div>'];
  92. }
  93. function compatModeTest(obj){
  94. if((document.compatMode)&&
  95. (document.compatMode.indexOf('CSS') != -1)&&
  96. (document.documentElement)){
  97. return document.documentElement;
  98. }else if(document.body){
  99. return document.body;
  100. }else{
  101. return obj;
  102. }
  103. }
  104. function getWindowState(){
  105. var global = this;
  106. var readScroll = {scrollLeft:NaN,scrollTop:NaN};
  107. var readSizeC = {clientWidth:NaN,clientHeight:NaN};
  108. var readSizeI = {innerWidth:NaN,innerHeight:NaN};
  109. var readScrollX = 'scrollLeft';
  110. var readScrollY = 'scrollTop';
  111. function getWidthI(){return readSizeI.innerWidth;}
  112. function getWidthC(){return readSizeC.clientWidth|0;}
  113. function getHeightI(){return readSizeI.innerHeight;}
  114. function getHeightC(){return readSizeC.clientHeight|0;}
  115. function getHeightSmart(){
  116. return retSmaller(getHeightI(), getHeightC());
  117. }
  118. function getWidthSmart(){
  119. return retSmaller(getWidthI(), getWidthC());
  120. }
  121. function setInnerWH(){
  122. theOne.getWidth = getWidthI;
  123. theOne.getHeight = getHeightI;
  124. }
  125. function retSmaller(inr, other){
  126. if(other > inr){
  127. setInnerWH();
  128. return inr;
  129. }else{
  130. return other;
  131. }
  132. }
  133. var theOne = {
  134. getScrollX:function(){return readScroll[readScrollX]|0;},
  135. getScrollY:function(){return readScroll[readScrollY]|0;},
  136. getWidth:getWidthC,
  137. getHeight:getHeightC
  138. };
  139. function main(){return theOne;}
  140. function rankObj(testObj){
  141. var dv,dhN;
  142. if(testObj&&(typeof testObj.clientWidth == 'number')&&
  143. (typeof testObj.clientHeight == 'number')){
  144. if(((dv = global.innerHeight - testObj.clientHeight) >= 0)&&
  145. ((dh = global.innerWidth - testObj.clientWidth) >= 0)){
  146. if(dh == dv){
  147. return 0;
  148. }else if((dh&&!dv)||(dv&&!dh)){
  149. return (dh+dv);
  150. }
  151. }
  152. }
  153. return NaN;
  154. }
  155. if((typeof global.innerHeight == 'number')&&
  156. (typeof global.innerWidth == 'number')){
  157. readSizeI = global;
  158. var bodyRank = rankObj(document.body);
  159. var rankDocEl = rankObj(document.documentElement);
  160. var selEl = null;
  161. if(!isNaN(bodyRank)){
  162. if(!isNaN(rankDocEl)){
  163. if(bodyRank < rankDocEl){
  164. selEl = document.body;
  165. }else if(bodyRank > rankDocEl){
  166. selEl = document.documentElement;
  167. }else{
  168. selEl = compatModeTest(document.body);
  169. }
  170. }else{
  171. selEl = document.body;
  172. }
  173. }else if(!isNaN(rankDocEl)){
  174. selEl = document.documentElement;
  175. }
  176. if(selEl){
  177. readSizeC = selEl
  178. theOne.getWidth = getWidthSmart;
  179. theOne.getHeight = getHeightSmart;
  180. }else{
  181. setInnerWH();
  182. }
  183. }else{
  184. readSizeC = compatModeTest(readSizeC);
  185. }
  186. if((typeof global.pageYOffset == 'number')&&
  187. (typeof global.pageXOffset == 'number')){
  188. readScroll = global;
  189. readScrollY = 'pageYOffset';
  190. readScrollX = 'pageXOffset';
  191. }else{
  192. readScroll = compatModeTest(readScroll);
  193. }
  194. return (getWindowState = main)();
  195. }
  196. var windowState = getWindowState();
  197. function readWindow(){
  198. scaleYAdjust = (((windowCenterY =
  199. (windowState.getHeight() >>1)) - 20)*
  200. zMultiplier);
  201. scaleXAdjust = (((windowCenterX =
  202. (windowState.getWidth() >> 1)) - 20)*
  203. zMultiplier);
  204. sy = windowCenterY + windowState.getScrollY();
  205. sx = windowCenterX + windowState.getScrollX();
  206. }
  207. function getStyleObj(id){
  208. var obj = null;
  209. if(document.getElementById){
  210. obj = document.getElementById(id);
  211. }else if(document.all){
  212. obj = document.all[id];
  213. }else if(document.layers){
  214. obj = document.layers[id];
  215. }
  216. return ((typeof obj != 'undefined')&&
  217. (typeof obj.style != 'undefined'))?
  218. obj.style:obj;
  219. }
  220. function starObj(id, parent, prv){
  221. var next,reset;
  222. var divClip, div = getStyleObj("stars"+id);
  223. var y,x,z,v,dx,dy,dm,dm2,px,py,widthPos,temp;
  224. (reset = function(){
  225. px = Math.random()<0.5 ? +1 : -1;
  226. py = Math.random()<0.5 ? +1 : -1;
  227. y = ((Math.random()*Math.random()*
  228. scaleYAdjust)+windowCenterY);
  229. x = ((Math.random()*Math.random()*
  230. scaleXAdjust)+windowCenterX);
  231. widthPos = (x + zMultiplier);
  232. z = 0;
  233. })();
  234. z = Math.random()*planeDepth*0.8;
  235. function step(){
  236. temp = x * (v = d/(depthDimentsion - z));
  237. dm = ((dm2 = ((widthPos * v)-temp)|0)>>1);
  238. dy = (y * v);
  239. dx = (temp);
  240. }
  241. if(div){
  242. if(!posMod){
  243. posMod = (typeof div.top == 'string')?'px':0;
  244. }
  245. divClip = ((typeof div.clip != 'undefined')&&
  246. (typeof div.clip != 'string'))?
  247. div.clip:div;
  248. this.position = function(){
  249. step();
  250. if(((z += fv) >= planeDepth)||
  251. ((dy+dm) > windowCenterY)||
  252. ((dx+dm) > windowCenterX)){
  253. reset();
  254. step();
  255. dm = 0;
  256. }
  257. div.top = ((sy+(py*dy)-dm)|0)+posMod;
  258. div.left = ((sx+(px*dx)-dm)|0)+posMod;
  259. divClip.width = (divClip.height = dm2+posMod);
  260. next.position();
  261. };
  262. }else{
  263. this.position = function(){return;};
  264. }
  265. if(++id < numberOfStars){
  266. next = new starObj(id, parent)
  267. }else{
  268. next = parent
  269. }
  270. }
  271. function init(){
  272. if(!getStyleObj("stars"+(numberOfStars-1))){
  273. setTimeout(starField, 200);
  274. }else{
  275. readWindow();
  276. starObjs = new starObj(0, init);
  277. init.act();
  278. }
  279. };
  280. init.position = function(){return;}
  281. init.act = function(){
  282. readWindow();
  283. starObjs.position();
  284. setTimeout(init.act,50);
  285. };
  286. init.act.toString = function(){
  287. return globalName+'.act()';
  288. };
  289. init.toString = function(){
  290. while(global[globalName])globalName += globalName;
  291. global[globalName] = this;
  292. return globalName+'()';
  293. };
  294. for(var c = numberOfStars;c--;){
  295. starHTML[1] = c;
  296. document.write(starHTML.join(''));
  297. }
  298. setTimeout(init, 200);
  299. })();
  300. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement