Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Code:
- ------------------------------------------------------------------------------------------------------------------------------------------
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace Free_Catalog_Items
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- string htmlCode = webBrowser1.Document.Body.OuterHtml;
- string endIds = "";
- foreach (HtmlElement elem in webBrowser1.Document.GetElementsByTagName("li"))
- {
- if (elem.GetAttribute("className").ToString() == "list-item item-card ng-scope")
- {
- string itemHtml = elem.OuterHtml;
- int pFrom = itemHtml.IndexOf("https://www.roblox.com/") + "https://www.roblox.com/".Length;
- int pTo = itemHtml.LastIndexOf("ng-click=") - 17;
- string result = itemHtml.Substring(pFrom, pTo - pFrom);
- endIds = "\"" + result + "\", " + endIds;
- }
- }
- endIds = "var ids = [" + endIds.Remove(endIds.Length - 2, 2) + "];" + "for (var i=1; i < ids.length; i += 2){function buy(){var id = ids[i]; $.get('https://www.roblox.com/' + id, function(data){var html = $(data);var bestprice = $('#item-container', html).attr('data-expected-price');var sellerid = $('#item-container', html).attr('data-expected-seller-id');var productid = $('#item-container', html).attr('data-product-id');if(bestprice == 0){$.ajax({type: 'POST',url: 'https://www.roblox.com/API/Item.ashx?rqtype=purchase&productID=' + productid + '&expectedCurrency=1&expectedPrice=0' + '&expectedSellerId=' + sellerid});}}).promise().done(buy);}buy();}";
- Clipboard.SetText(endIds);
- }
- }
- }
- ------------------------------------------------------------------------------------------------------------------------------------------
- c# code btw for dummies who would try to use free exploit
- its kinda bad so if anyone wants to improve this please do
- basically just a c# app which generates a javascript script which can be ran in the console and auto-buys all the free items from the catalog page loaded
- Code:
- ------------------------------------------------------------------------------------------------------------------------------------------
- var ids = ["catalog/1796649/", "catalog/1592351/", "catalog/1546452/", "catalog/1468886/", "catalog/1671966/", "catalog/1611822/", "catalog/1254325/", "catalog/1607509/", "catalog/1744006/", "catalog/23939248/", "catalog/1789935/", "bundles/531/", "catalog/1713016/", "catalog/1733318/", "catalog/1639654/", "catalog/144076760/", "catalog/1386047/", "catalog/1562150/", "bundles/528/", "catalog/1639393/", "catalog/1650178/", "catalog/1280039/", "catalog/1639361/", "catalog/144075659/", "catalog/1593109/", "catalog/1640637/", "catalog/1745854/", "catalog/1686366/", "catalog/1466956/", "catalog/1772232/"];for (var i=1; i < ids.length; i += 2){function buy(){var id = ids[i]; $.get('https://www.roblox.com/' + id, function(data){var html = $(data);var bestprice = $('#item-container', html).attr('data-expected-price');var sellerid = $('#item-container', html).attr('data-expected-seller-id');var productid = $('#item-container', html).attr('data-product-id');if(bestprice == 0){$.ajax({type: 'POST',url: 'https://www.roblox.com/API/Item.ashx?rqtype=purchase&productID=' + productid + '&expectedCurrency=1&expectedPrice=0' + '&expectedSellerId=' + sellerid});}}).promise().done(buy);}buy();}
- for example this with a bunch of t-shirts from the featured page.
- ------------------------------------------------------------------------------------------------------------------------------------------
- just realised this could be the wrong section so someone hmu if this is ok or not
- edit:
- made sure it works with bundles aswell.
- and proof it works:
- [Image: ZXwPpa.png]
Add Comment
Please, Sign In to add comment