From df43e6a2c68a83a22c18f5779f7af364b87036e4 Mon Sep 17 00:00:00 2001 From: Charles Date: Thu, 26 Apr 2018 14:32:58 +0800 Subject: [PATCH] add old branch. --- flowerpassword/app.min.css | 1 + flowerpassword/clipboard.min.js | 7 +++ flowerpassword/index.html | 36 +++++++++++++ flowerpassword/index.js | 29 +++++++++++ flowerpassword/md5.min.js | 1 + index.html | 89 +++++++++++++++++++++++++++++++++ 6 files changed, 163 insertions(+) create mode 100644 flowerpassword/app.min.css create mode 100644 flowerpassword/clipboard.min.js create mode 100644 flowerpassword/index.html create mode 100644 flowerpassword/index.js create mode 100644 flowerpassword/md5.min.js create mode 100644 index.html diff --git a/flowerpassword/app.min.css b/flowerpassword/app.min.css new file mode 100644 index 0000000..632d583 --- /dev/null +++ b/flowerpassword/app.min.css @@ -0,0 +1 @@ +html,body,div,p,span{margin:0;padding:0;outline:0}html,body{height:100%;width:100%}body{position:relative;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);overflow:hidden}.app-topbar{z-index:3000;position:relative;height:44px;width:100%;background-color:#000;color:#FFF}.app-topbar .app-title{margin:0 auto;height:100%;width:100%;line-height:44px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-content{z-index:2000;position:relative;background-color:#FFF;overflow:auto}.app-section{position:relative;margin:8px;border:1px solid #AAA}.app-input{position:relative;display:block;padding:10px 12px;width:100%;background-color:transparent;border:0;border-bottom:1px solid #AAA;outline:0;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;line-height:20px;-webkit-appearance:none}.app-section .app-input:last-child{border-bottom:0}.app-input{color:inherit;font-family:inherit;font-size:inherit}input.app-input{height:40px}.app-topbar.teal{background-color:#2B9;-webkit-box-shadow:inset 0 -1px 0 #197,0 1px 0 rgba(0,0,0,0.1),0 1px 7px rgba(0,0,0,0.18);box-shadow:inset 0 -1px 0 #197,0 1px 0 rgba(0,0,0,0.1),0 1px 7px rgba(0,0,0,0.18);color:#f3f4f5}.app-topbar .app-title{font-size:18px;font-weight:500}.app-topbar .app-title .app-icon{display:none;float:left;margin:12px 7px 12px -4px;height:24px;width:24px;background-image:url(data:image/gif;base64,R0lGODlhAQABAIAAAPj8/wAAACwAAAAAAQABAAACAkQBADs=);-webkit-background-size:100%;background-size:100%}.app-content{background:#e8eaef}.app-section,.app-input{border:0}.app-section{margin:16px;padding:8px;background:#FFF;border-bottom:1px solid rgba(0,0,0,0.1);-webkit-border-radius:6px;border-radius:6px}.app-content .app-section>*{margin:8px 0 0;-webkit-border-radius:4px;border-radius:4px}.app-content .app-section>:first-child{margin-top:0}input.app-input{height:44px;background:#FFF;line-height:24px;border-bottom:1px solid rgba(0,0,0,0.1)}.app-section input.app-input{border-bottom:0} \ No newline at end of file diff --git a/flowerpassword/clipboard.min.js b/flowerpassword/clipboard.min.js new file mode 100644 index 0000000..69731a4 --- /dev/null +++ b/flowerpassword/clipboard.min.js @@ -0,0 +1,7 @@ +/*! + * clipboard.js v1.5.1 + * https://zenorocha.github.io/clipboard.js + * + * Licensed MIT © Zeno Rocha + */ +!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Clipboard=t()}}(function(){var t,e,n;return function t(e,n,r){function o(a,c){if(!n[a]){if(!e[a]){var s="function"==typeof require&&require;if(!c&&s)return s(a,!0);if(i)return i(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};e[a][0].call(l.exports,function(t){var n=e[a][1][t];return o(n?n:t)},l,l.exports,t,e,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;ar;r++)n[r].fn.apply(n[r].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),r=n[t],o=[];if(r&&e)for(var i=0,a=r.length;a>i;i++)r[i].fn!==e&&r[i].fn._!==e&&o.push(r[i]);return o.length?n[t]=o:delete n[t],this}},e.exports=r},{}],8:[function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var i=function(){function t(t,e){for(var n=0;n + + + + + 花密手机版 + + + + + +
+
+
+ 花密手机版
+
+
+
+ +
+

+

+
+ +
+
+ +
+
+
+ + + + + + + diff --git a/flowerpassword/index.js b/flowerpassword/index.js new file mode 100644 index 0000000..4cea00a --- /dev/null +++ b/flowerpassword/index.js @@ -0,0 +1,29 @@ +function $(id){ + return document.getElementById(id).value +} +function countCode() { + if ($("password") && $("key")) { + var md5one = md5($("password"), $("key")); + var md5two = md5(md5one, 'snow'); + var md5three = md5(md5one, 'kise'); + var rule = md5three.split(""); + var source = md5two.split(""); + for (var i = 0; i <= 31; i++) { + if (isNaN(source[i])) { + str = "sunlovesnow1990090127xykab"; + if (str.search(rule[i]) > -1) { + source[i] = source[i].toUpperCase(); + } + } + } + var code32 = source.join(""); + var code1 = code32.slice(0, 1); + var code16 = code32.slice(0, 16); + if (!isNaN(code1)) { + code16 = "K" + code32.slice(1, 16); + } + document.getElementById("code16").value=code16; + } +} + + var clipboard = new Clipboard('#code16'); \ No newline at end of file diff --git a/flowerpassword/md5.min.js b/flowerpassword/md5.min.js new file mode 100644 index 0000000..11b1545 --- /dev/null +++ b/flowerpassword/md5.min.js @@ -0,0 +1 @@ +!function(a){"use strict";function b(a,b){var c=(65535&a)+(65535&b),d=(a>>16)+(b>>16)+(c>>16);return d<<16|65535&c}function c(a,b){return a<>>32-b}function d(a,d,e,f,g,h){return b(c(b(b(d,a),b(f,h)),g),e)}function e(a,b,c,e,f,g,h){return d(b&c|~b&e,a,b,f,g,h)}function f(a,b,c,e,f,g,h){return d(b&e|c&~e,a,b,f,g,h)}function g(a,b,c,e,f,g,h){return d(b^c^e,a,b,f,g,h)}function h(a,b,c,e,f,g,h){return d(c^(b|~e),a,b,f,g,h)}function i(a,c){a[c>>5]|=128<>>9<<4)+14]=c;var d,i,j,k,l,m=1732584193,n=-271733879,o=-1732584194,p=271733878;for(d=0;d>5]>>>b%32&255);return c}function k(a){var b,c=[];for(c[(a.length>>2)-1]=void 0,b=0;b>5]|=(255&a.charCodeAt(b/8))<16&&(e=i(e,8*a.length)),c=0;16>c;c+=1)f[c]=909522486^e[c],g[c]=1549556828^e[c];return d=i(f.concat(k(b)),512+8*b.length),j(i(g.concat(d),640))}function n(a){var b,c,d="0123456789abcdef",e="";for(c=0;c>>4&15)+d.charAt(15&b);return e}function o(a){return unescape(encodeURIComponent(a))}function p(a){return l(o(a))}function q(a){return n(p(a))}function r(a,b){return m(o(a),o(b))}function s(a,b){return n(r(a,b))}function t(a,b,c){return b?c?r(b,a):s(b,a):c?p(a):q(a)}"function"==typeof define&&define.amd?define(function(){return t}):a.md5=t}(this); \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..02b7138 --- /dev/null +++ b/index.html @@ -0,0 +1,89 @@ + + + + + + +

+ Demo for: + + https://github.com/diafygi/webrtc-ips + +

+

+ This demo secretly makes requests to STUN servers that can log your + request. These requests do not show up in developer consoles and + cannot be blocked by browser plugins (AdBlock, Ghostery, etc.). +

+

Your local IP addresses:

+
    +

    Your public IP addresses:

    +
      + + + \ No newline at end of file