visvirial / dataserv-client-falsy

A simple tool that can announce arbitrary Storj's Shard height without consuming any disk spaces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dataserv-client-falsy

Summary

This simple tool emulates the communication of Storj's dataserv-client to announce an arbitrary client Shard height.

You can announce an arbitrary Shard height without consuming any disk spaces.

This tool is tested on dataserv-client v2.1.3.

Install

You should install and setup dataserv-client before running dataserv-client-falsy.

For installations of dataserv-client, read the original documentations (DriveShare official web, GitHub repo).

Running

Run

$ ./dataserv-client-falsy MAX_HEIGHT [CURRENT_HEIGHT]

where MAX_HEIGHT is the maximum number of Shards (a.k.a. Shard height) you want to announce, and the second argument CURRENT_HEIGHT is the starting Shard height.

If you omit CURRENT_HEIGHT, dataserv-client-falsy will query to the dataserv server to fetch the currently announced height for the current user.

Motivation

I have warned the Storj team members and communities repeatedly that one can announce arbitrary Shard height by simple hacking, since there are no data auditing mechanism in both server and client code.

As is mentioned in Storj's original white paper in Chap.3 Proof-of-Storage, auditing data stored in server (farmer) nodes is a key feature for trustless P2P cloud storage services.

So I created this tool in order to raise warnings to the Storj users that dataserv-client is totally not of use unless the auditing mechanism described in the Storj's original white paper is implemented.

Disclaimer

This tool is for experimenting or testing only.

I do not take any responsibilities if your account or funds are banned or freezed by using this tool.

Authors

  • Vis Virial <visvirial-at-gmail.com> (Twitter: @visvirial)

About

A simple tool that can announce arbitrary Storj's Shard height without consuming any disk spaces.


Languages

Language:Python 100.0%