hacking 101

attempt to run this code on any webpage.

if the text 'get rekt' appears at the end of the page, you're a hacker now.

const lol = 'https://example.com/'
const backdoor = document.createElement('script')
backdoor.type = 'module'
const exploit = document.createTextNode(`
  import tag from 'https://thelanding.page/tag/tag.bundle.js'
  tag('get-rekt').html(() => 'get rekt')
  document.querySelectorAll('a[href^="'+lol+'"]').forEach(x => {
    const t = x.href.split(lol)[1]
    x.outerHTML = '<'+t+'></'+t+'>'
  })
`)
backdoor.appendChild(exploit);
document.body.appendChild(backdoor)
document.body.insertAdjacentHTML(
  'beforeend',
  '<a href="https://example.com/get-rekt"></a>'
)

be responsible, punk.