statspolt.blogg.se

Bitmessage github
Bitmessage github




  1. Bitmessage github portable#
  2. Bitmessage github code#
  3. Bitmessage github download#

To be noted keys.dat have same format of ConfigParser. Then we need to retrieve api config from it. Using method above we can retrieve keys.dat from almost every platforms. If data_fonder not in :ĭata_folder = path.join(os.environ, "Library/Application Support/", app_folder) + '/'ĭata_folder = path.join(code(sys.getfilesystemencoding(), 'ignore'), app_folder) + pĭata_folder = path.join(environ, app_folder)ĭata_folder = path.join(environ, ".config", app_folder) Since the end game is distribute to cross-platform, we need to make our little spam bot able to self-generate config file and content text file. Print 'All address are looped, sleep 3600 seconds.'Īnd now you have your simple spam bot. Subject = subject.encode('utf-8').strip()Ĭontent = content.encode('utf-8').strip()Īck_data = api.sendMessage(j, j, subject_data, content_data, 2) In order to read this file, we need to write a new method. This is title, I'm going to spam message. I make a content.txt to store spam message. Proper spam bot is needed to edit message on the fly while program is running, so we need to make a text file to store messages. However, this is not a good spam bot, it require to modify hardcoded message in order to spam a new message. On official API docs send message through API is fairly easy, encode desire message to base64 and you are able to send the request to API. Target_address.append(client_address.encode('ASCII', 'ignore'))ĪpiUri = xmlrpclib.ServerProxy(apiUri)Īfter can printed all the addresses, we need to work on the spam part.

Bitmessage github code#

Example code will be something like below import xmlrpclibĬlient_address = json.loads(api.listAddresses()) First we need to retrieve all address which I pre-added to Bitmessage. To make the spam bot have most converages of users, target to Chans is the best idea. apiUri = xmlrpclib.ServerProxy(apiUri)Īfter connection is established you can use simple add method to check if client can start handle requests. We can use simple Python console to test the connection. The Making of Spam Botīitmessage API is using xmlrpc to communicate according to API docs.

Bitmessage github portable#

apiport = 8442Īfter that, open Bitmessage again and uncheck the Run in Portable Mode, you can let it keep running in the background. Use your favorite editor to open keys.dat, add following information. After you close the application, keys.dat should appear inside the folder. Go to Settings -> Settings and check the Run in Portable Mode. Normally keys.dat is bundled within the application. Sync is finished if you sees Object(s) to be synced = 0, next we need to retrieve keys.dat. Basically it runs on all platforms because of Python + QT, pick whatever operation system you have and let's roll!įirst of all we need to open our newly downloaded Bitmessage client and let it sync through the data. So, why not try to spam this specific protocol to see what blockchain can prevent with spam bot? Let's Spam It! Environmentįirst, we are going to use PyBitmessage to be our API Proxy.

bitmessage github

If you are not familar with BitMessage, it is a really cool application lives on blockchain, you can find more useful and accurate information on their wiki page.Īfter surfing around their Github I found that they have API built into client allows other program to communicate with the client.

Bitmessage github download#

So I download it back to my laptop to see what has changed since.

bitmessage github

Recently I been studing Blockchain and I remembered there is a messenger app called BitMessage which is used by activisms during protests a while ago. There is gotta be some evil things I can do with it. BitMessage is a anonymous messaging app which uses blockchain to communicate.






Bitmessage github