| url | 94 |keywords | 95 |size | 96 |staus | 97 |
|---|---|---|---|
| {{data.siteUrl}} | {{data.taskKeys}} | {{data.size}} | {{data.status}} |
├── data.json ├── .gitattributes ├── install.command ├── requirements.txt ├── logo.png ├── logo1.png ├── shopifytask.pyc ├── static ├── logo.png ├── logo1.png ├── profiles.css ├── pace.css └── pace.css.map ├── templates ├── logo.png ├── logo0.png ├── logo1.png ├── logo2.png ├── logo10.png ├── logo11.png ├── activation.html ├── task.html ├── profiles.html ├── index.html ├── blank_page0.html └── blank_page.html ├── profiles └── newTest.json ├── README.md ├── package.json ├── main.js ├── .gitignore ├── hello.py ├── shopifytask.py └── LICENSE /data.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.* linguist-language=Python 2 | -------------------------------------------------------------------------------- /install.command: -------------------------------------------------------------------------------- 1 | pip install -r requirements.txt 2 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Flask==1.0.2 2 | requests==2.20.0 3 | bs4==0.0.1 4 | -------------------------------------------------------------------------------- /logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/logo.png -------------------------------------------------------------------------------- /logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/logo1.png -------------------------------------------------------------------------------- /shopifytask.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/shopifytask.pyc -------------------------------------------------------------------------------- /static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/static/logo.png -------------------------------------------------------------------------------- /static/logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/static/logo1.png -------------------------------------------------------------------------------- /templates/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/templates/logo.png -------------------------------------------------------------------------------- /templates/logo0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/templates/logo0.png -------------------------------------------------------------------------------- /templates/logo1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/templates/logo1.png -------------------------------------------------------------------------------- /templates/logo2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/templates/logo2.png -------------------------------------------------------------------------------- /templates/logo10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/templates/logo10.png -------------------------------------------------------------------------------- /templates/logo11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArnavChawla/Shopify-Bot/HEAD/templates/logo11.png -------------------------------------------------------------------------------- /profiles/newTest.json: -------------------------------------------------------------------------------- 1 | {"profile": "newTest", "city": "a", "last": "j", "Zip": "2", "phone": "12", "cvv": "123", "credit": "123", "state": "1", "exp": "123", "address": "1", "email": "1", "First": "bob"} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | A simple lightweight python program to checkout on most websites hosted on the shopify e-commerce platform. 2 | 3 | This code sets the ground for the most basic form of checkout on Shopify sites, however it is not the full code for a bot. I have excluded the code for line skips and captcha bypasses. 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "copmax", 3 | "version": "1.0.0", 4 | "description": "A shopify bot.", 5 | "main": "main.js", 6 | "companyName": "hi", 7 | "scripts": { 8 | "start": "electron .", 9 | "build": "electron-packager . CopMax --platform=darwin --arch=x64 --app-version=0.0.1 --overwrite" 10 | }, 11 | "author": "arnavchawla", 12 | "license": "CC0-1.0", 13 | "devDependencies": {}, 14 | "dependencies": { 15 | "asar": "^0.14.3", 16 | "child_process": "^1.0.2", 17 | "chrome-finder": "^1.0.3", 18 | "discord.js": "^11.3.2", 19 | "electron": "^7.2.4", 20 | "node-schedule": "^1.3.0", 21 | "puppeteer": "^1.3.0", 22 | "request-promise": "*" 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | const electron = require('electron'); 2 | const app = electron.app; 3 | const BrowserWindow = electron.BrowserWindow; 4 | 5 | 6 | var mainWindow = null; 7 | 8 | app.on('window-all-closed', function() { 9 | //if (process.platform != 'darwin') { 10 | app.quit(); 11 | //} 12 | }); 13 | 14 | app.on('ready', function() { 15 | // call python? 16 | var subpy = require('child_process').spawn('python', ['./hello.py']); 17 | //var subpy = require('child_process').spawn('./dist/hello.exe'); 18 | var rq = require('request-promise'); 19 | var mainAddr = 'http://127.0.0.1:5000'; 20 | 21 | var openWindow = function(){ 22 | mainWindow = new BrowserWindow({width: 1000, height:800}); 23 | // mainWindow.loadURL('file://' + __dirname + '/index.html'); 24 | mainWindow.loadURL('http://127.0.0.1:5000',{"extraHeaders" : "pragma: no-cache\n"}); 25 | mainWindow.on('closed', function() { 26 | mainWindow = null; 27 | subpy.kill('SIGINT'); 28 | }); 29 | }; 30 | 31 | var startUp = function(){ 32 | rq(mainAddr) 33 | .then(function(htmlString){ 34 | console.log('server started!'); 35 | openWindow(); 36 | }) 37 | .catch(function(err){ 38 | //console.log('waiting for the server start...'); 39 | startUp(); 40 | }); 41 | }; 42 | 43 | // fire! 44 | startUp(); 45 | }); 46 | -------------------------------------------------------------------------------- /templates/activation.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 9 | 10 | 11 | 16 | 21 | 22 | 23 || url | 94 |keywords | 95 |size | 96 |staus | 97 |
|---|---|---|---|
| {{data.siteUrl}} | {{data.taskKeys}} | {{data.size}} | {{data.status}} |