1import{_ as b,h as k,w as r,j as p,e as q,g as n,o as B,f as s,a as i,d as l}from"./index-DIx-r7F0.js";import{t as I}from"./honeypot-CXI7UV1k.js";import{P}from"./Partners-DMZ1xfkg.js";import{D as R,d as c}from"./index-CA31sQ_P.js";import{f as d}from"./fingerprint-BnaoGDxt.js";import{E as T}from"./EChartBase-ZRtuIUEL.js";import"./Honeypot-lyr52rHE.js";import"./install-BcJSm7iB.js";import"./install-C2RiDhDL.js";import"./install-7HvDDk9y.js";const x={components:{EChart:T,DemoCard:R,Partners:P},mounted(){I()},data(){return{initialized:!1,scheduleLink:q.scheduleLink,cards:[],flags:[],dialog:!1,flag:{type:"",review_only:!1},forgotten:!1,reviewItem:{data:{}},chartData:"",fingerprintBrowser:"",fingerprintHoneypot:"",ip_address:"",walletAddress:"",chainId:"",colors:["amber-lighten-3","amber-lighten-3","amber-lighten-3","amber-lighten-2","amber-lighten-2","amber-lighten-2","amber-lighten-1","amber-lighten-1","amber-lighten-1"]}},methods:{treeClick(t){console.log("tree clicked");try{let e=t.data.type;if(console.log(t.data),e=="browser_fingerprint"||e=="device_fingerprint"||e=="web3_wallet"){this.dialog=!0,console.log(t.data),console.log("hi");let o={...t.data},a=o.name;delete o.label,delete o.itemStyle,delete o.value,delete o.type,delete o.name,this.reviewItem={type:e,subtitle:a,data:o}}}finally{}},refreshFingerprintTree(){this.fingerprintHoneypot&&p.get("/honeypot/tree",{params:{fp:this.fingerprintHoneypot}}).then(t=>{this.chartData=async()=>d(t.data.tree,this.hasFlags),console.log(t.data.tree)}).catch(t=>{console.error(t)})},async connectWallet(){const t=await c();t?await t.request({method:"eth_requestAccounts"}).then(()=>this.updateWalletInfo(!0)):console.log("Please install MetaMask!")},async trackWallet(t){!this.ip_address||!this.fingerprintBrowser||p.post("/honeypot/track/web3",{wallet_address:t,fp:this.fingerprintBrowser,fp_device:this.fingerprintDevice,ip:this.ip_address}).then(e=>{console.log(e.data),this.refreshFingerprintTree()}).catch(e=>{console.error(e)})},async updateWalletInfo(t){const e=await c();e&&(this.chainId=await e.request({method:"eth_chainId"}),await e.request({method:"eth_accounts"}).then(o=>{o.length===0||o[0]!==this.walletAddress&&(this.walletAddress=o[0]),t&&this.trackWallet(this.walletAddress)}).catch(o=>{console.error(o)}))},forgetMe(){this.cards=[],p.post("/honeypot/forget",{hpfp:this.fingerprintHoneypot}).then(t=>{this.forgotten=!0}).catch(t=>{console.error(t)})},async initialize(){async function t(){return new Promise(e=>{function o(){if(window.hpot&&window.hpot.get&&window.hpot.get()){const a=window.hpot.get();if(a){window.honey=a,e();return}}setTimeout(o,10)}o()})}await t(),console.log(honey),this.chartData=async()=>d(honey.tree,honey.history.flags),this.fingerprintHoneypot=honey.fingerprint.id,this.fingerprintBrowser=honey.fingerprint.browser,this.fingerprintDevice=honey.fingerprint.device,this.hasFlags=honey.flags.counts.active>0,this.flags=honey.flags.detail,this.ip_address=honey.ip.address,this.initialized=!0,this.cards=[{title:"Fingerprint",icon:"fa-light fa-fingerprint",color:"primary",data:[{title:"Fingerprint",value:honey.fingerprint.id.replace(/-/g,""),property:"honey.fingerprint.id",description:"The sticky fingerprint"},{title:"Resisting",value:honey.fingerprint.is_resisting,property:"honey.fingerprint.is_resisting",description:"Whether or not the client is resisting the fingerprint"},{title:"Timings",value:'<i class="fa-light fa-fingerprint"></i> '+honey.timings.browser_fingerprint+'ms <i class="ml-2 fa-light fa-download"></i> '+honey.timings.request+"ms",property:"honey.timings.request",description:"The amount of time it took to fingerprint the client"}]},{title:"Browser",icon:"fa-light fa-window",color:"purple",data:[{title:"Name",value:honey.browser.name,property:"honey.browser.name",description:"The type of web browser that the client is using"},{title:"Incognito",value:honey.browser.incognito,property:"honey.browser.incognito",description:"Whether or not private browsing is enabled"},{title:"Mobile",value:honey.browser.mobile,property:"honey.browser.mobile",description:"True if the client is a mobile device, otherwise false"}]},{title:"Bot",icon:"fa-light fa-robot",color:"blue",data:[{title:"Bot",value:honey.bot.detected,property:"honey.bot.detected",description:""},{title:"Bot Kind",value:honey.bot.kind||"n/a",property:"honey.bot.kind",description:""},{title:"Lies",value:honey.secrets.lies,property:"honey.secrets.lies",description:""}]},{title:"IP",icon:"fa-light fa-input-numeric",color:"lightblue",data:[{title:"Current IP Address",value:honey.ip.address,property:"honey.ip.address",description:""},{title:"Reputation",value:honey.ip.total_reports+" report(s)",property:"honey.ip.total_reports",description:""},{title:"Unique IPs",value:honey.history.unique_ips,property:"honey.history.unique_ips",description:""}]},{title:"Location",icon:"fa-sharp fa-solid fa-location-dot",color:"magenta",data:[{title:"City",value:honey.location.city.name,property:"honey.location.city.name",description:""},{title:"Region",value:honey.location.region.name,property:"honey.location.region.name",description:""},{title:"Country",value:honey.location.country.name,property:"honey.location.country.name",description:""}]},{title:"Secrets",icon:"fa-light fa-lock",color:"pink",data:[{title:"TOR",value:honey.secrets.is_tor,property:"honey.secrets.is_tor",description:""},{title:"RFP",value:honey.secrets.is_rfp,property:"honey.secrets.is_rfp",description:""},{title:"Anonymous",value:honey.secrets.is_anonymous,property:"honey.secrets.is_anonymous",description:""}]},{title:"Crypto",icon:"fa-light fa-block",color:"cyan-darken-2",data:[{title:"Unique Wallets",value:honey.history.unique_wallets,property:"honey.history.unique_wallets",description:""},{title:"Reputation",value:"secret",description:""},{title:"",value:"",description:""}]},{title:"Legal",icon:"fa-light fa-file-contract",color:"orange",data:[{title:"OFAC Risk",value:"low",property:"honeypot.legal.ofac_risk",description:""},{title:"",value:honey.flags.count,property:"",description:""},{title:"",value:"",description:""}]},{title:"Visit History",icon:"fa-light fa-rectangle-history-circle-user",color:"green",data:[{title:"Total Requests",value:honey.history.total_requests,property:"honey.history.total_requests",description:""},{title:"Bot Requests",value:honey.history.bot_requests,property:"honey.history.bot_requests",description:""},{title:"Anon Requests",value:"",description:""}]}]}},created(){this.updateWalletInfo(!1),this.initialize()}},C={class:"justify-center align-center"};function W(t,e,o,a,A,D){const h=n("v-icon"),y=n("v-toolbar-title"),f=n("v-toolbar"),u=n("v-btn"),g=n("v-chip"),m=n("v-table"),_=n("v-col"),v=n("v-row"),w=n("v-container");return B(),k(w,{fluid:""},{default:r(()=>[s(v,{"no-gutters":"",class:"my-2"},{default:r(()=>[s(_,{cols:"10",md:"12",lg:"12",xl:"9",class:"my-0 py-0"},{default:r(()=>[i("div",C,[s(m,null,{top:r(()=>[s(f,{flat:"",density:"compact",color:"green",style:{"border-radius":"5px",padding:"0px","margin-left":"-1px",opacity:"0.8"}},{default:r(()=>[s(y,{class:"text-body-2 font-weight-bold"},{default:r(()=>[s(h,{color:"rgba(0,0,0,.5)"},{default:r(()=>[...e[0]||(e[0]=[l("fa-duotone fa-life-ring",-1)])]),_:1}),e[1]||(e[1]=l(" Â Support ",-1))]),_:1})]),_:1})]),default:r(()=>[i("tbody",null,[i("tr",null,[e[3]||(e[3]=i("td",null,"Plan",-1)),i("td",null,[s(u,{color:"primary",size:"small"},{default:r(()=>[...e[2]||(e[2]=[l(" Standard ",-1)])]),_:1}
1)])]),i("tr",null,[e[5]||(e[5]=i("td",null,"Response Window",-1)),i("td",null,[s(g,null,{default:r(()=>[...e[4]||(e[4]=[l("6 hours",-1)])]),_:1})])]),e[6]||(e[6]=i("tr",null,[i("td",null,"Phone"),i("td",null,"(888) 912-7336")],-1))])]),_:1})])]),_:1})]),_:1})]),_:1})}const j=b(x,[["render",W]]);export{j as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.