Share the latest available sign-in script in the LOC forum, you need to have a VPS yourself

888u

Last update at :2024-03-02,Edit by888u

Many friends who browse this site are on the LOC forum. I actually go there every day because there are some good-looking teardowns and information. However, for newcomers, they still need to upgrade their level as soon as possible. The forum provides You can get 20 gold coins by accessing other users' spaces for 10 times a day. In the past, many big guys used functions on github to perform automatic access functions, but some of them were killed by C's defense system. Today I will share one with you. Scripts are currently available.

Open your dusty VPS, install Pagoda, and then arrange python3

Use debian or ubuntu

apt-get install python3-pip

Centos use

yum install python3

Then create a new PY file with a random name. Do not use text editing on your computer. Use Pagoda to create a new file. The webmaster is built in /home/www. The name is loc.py, and then copy the following script. Go in, change the account number and password to your own, and you can use it with multiple accounts.

#!/usr/bin/env python # -*- coding: UTF-8 -*- # Author: MoeClub.org import re importsys import time from urllib import request, parse from http import cookiejar account_dict = { '0': {'username': 'Account A', 'password': 'Password A'}, '1': {'username': 'Account B', 'password': 'Password B'}, } def Login(URL, UserData): _cookies = '' _cookie = cookiejar.CookieJar() _handler = request.HTTPCookieProcessor(_cookie) _req = request.Request(URL, data=parse.urlencode(UserData).encode('utf-8')) request.build_opener(_handler).open(_req) for cookie in _cookie: _cookies += cookie.name + '=' + cookie.value + ';' return_cookies def GetPage(URL, Header_Cookies): _Header = {'Cookie': str(Header_Cookies)} _req = request.Request(URL, headers=_Header) return request.urlopen(_req).read().decode('utf-8') def GetCredit(user_data, proto='https'): username = user_data['username'] Login_URL = proto + '://hostloc.com/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1' My_Credit = proto + '://hostloc.com/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1' My_Home = proto + '://hostloc.com/home.php?mod=spacecp&inajax=1' My_Cookies = Login(Login_URL, user_data) if '' + str(username) + '' not in GetPage(My_Home, My_Cookies): print('[%s] Login Fail!' % username) else: try: CreditNum0 = str(re.findall('[0-9]+', GetPage(My_Credit, My_Cookies))[-1]) except: CreditNum0 = 'Null' for x in range(25297, 25309): GetPage(proto + '://hostloc.com/space-uid-{}.html'.format(x), My_Cookies) time.sleep(4) try: if CreditNum0 == 'Null': raiseException CreditNum1 = str(re.findall('[0-9]+', GetPage(My_Credit, My_Cookies))[-1]) if CreditNum0 == CreditNum1: CreditDetails = str(CreditNum1) else: CreditDetails = str(CreditNum0) + '->' + str(CreditNum1) except: CreditDetails = 'Null' print('[%s] Login Success! (Credit: %s)' % (username, CreditDetails)) if __name__ == '__main__': if len(sys.argv) > 1: n = 0 account_dict = {} account_list = [sys.argv[x] for x in range(1, len(sys.argv))] for account in account_list: if ":" not in account: continue account_dict[str(n)] = {} account_dict[str(n)]['username'] = str(str(account).split(":", 1)[0]) account_dict[str(n)]['password'] = str(str(account).split(":", 1)[-1]) n += 1 for i in range(0, len(account_dict)): try: GetCredit(account_dict[str(i)]) time.sleep(4) except: continue

Then add a Shell script to the scheduled task of the pagoda. Press the following input to receive 20 gold coins regularly every day. The account can be upgraded to the elder after 150 days. However, if you fill more water, the upgrade will be faster. There is another version. The owners will also clean up semicolons from time to time.

If you have always wanted to enter the LOC forum but can't find the door, you can contact me by email and the webmaster will send you an invitation.

Recommended site search: ip138 website query, cloud hosting, Hong Kong server rental, Korean high-defense server, overseas server rental price, domain name space purchase, US website space public welfare free virtual host, US host purchase, ip address,

p>

Share the latest available sign-in script in the LOC forum, you need to have a VPS yourself

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码