create account

Mine-Secure - Script to Automate Securing Your Steemit Accounts by geoffrey

View this thread on: hive.blogpeakd.comecency.com
· @geoffrey · (edited)
$0.03
Mine-Secure - Script to Automate Securing Your Steemit Accounts
Do you have any mined accounts?  Are you mining with them remotely, or on a publically accessible computer?  **Would you like to be able to log into steemit.com with your mined account (or an account for which you only have the owner key)?**  Then this script is for you!

<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/System-lock-screen.svg/1024px-System-lock-screen.svg.png">

# Usage:

1) Either start steemd locally with --rpc-endpoint
and connect to it with cli wallet: `cli_wallet -r 127.0.0.1:8093`
or connect cli wallet to a public steemd client, e.g., `cli_wallet -s ws://steemit.com:8090 -r 127.0.0.1:8093` ([See this guide for help](https://steemit.com/steem/@steem-id/tutorial-how-to-use-cliwallet-without-downloading-complete-blockchain-on-windows-x64))*
2) import your key into the wallet if it isn't there already: `new >>> set_password stuff`
`new >>> unlock stuff`
`new >>> import_key 5stuff`
3) In a fresh terminal window, `git clone http://github.com/geoffrey-steem/mine-secure.git`
4) `cd mine-secure`
5) `pip3 install -r requirements.py`
6) `python3 mine-secure.py [cli_wallet_ip] [cli_wallet_server_port]`
7) Follow the prompts, and WRITE DOWN your new owner key!
8) Backup your new `wallet.json`

To be safe, the active key is not changed.  If you believe your account has been compromised, this script isn't enough to secure it.  You'll have to either modify the script to also change the active key, change the active key manually, or contact me for help.

After running the script, you can use the POSTING key to sign into steemit.com.  Put 'your_name/posting' as the name and the posting private key as the password.  You can then go to the password page on your wallet and generate a new site password for future use.

You can test the script out by responding 'n' to the "are you ready?" prompt.

I hope you find this script useful, and let me know if you have any questions!  I also encourage you to audit the code!

<hr>

\* If you use the public steem node, be careful since it disconnects after a few seconds of idling.  I'd advice starting the script as soon as you start cli_wallet, or run steemd locally.
<center>*[Mine-secure is open-source](https://github.com/geoffrey-steem/mine-secure)*</center>
<hr>
<p><a href="http://steemit.com/@geoffrey" rel="noopener"><img src="https://img1.steemit.com/0x0/http://i.imgur.com/rrmzxfp.png"></a><a href="http://steemit.com/~witnesses"><img src="https://www.steemimg.com/images/2016/08/19/witness_me91f35.png"></a></p>
👍  , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorgeoffrey
permlinkmine-secure-script-to-automate-securing-your-steemit-accounts
categorysteemit
json_metadata{"tags":["steemit","mining","security","steem-help","steem"],"image":["https://upload.wikimedia.org/wikipedia/commons/thumb/c/c4/System-lock-screen.svg/1024px-System-lock-screen.svg.png","https://img1.steemit.com/0x0/http://i.imgur.com/rrmzxfp.png","https://www.steemimg.com/images/2016/08/19/witness_me91f35.png"],"links":["https://steemit.com/steem/@steem-id/tutorial-how-to-use-cliwallet-without-downloading-complete-blockchain-on-windows-x64","https://github.com/geoffrey-steem/mine-secure","http://steemit.com/@geoffrey","http://steemit.com/~witnesses"]}
created2016-08-19 19:37:30
last_update2016-08-19 20:19:03
depth0
children4
last_payout2016-09-19 21:37:12
cashout_time1969-12-31 23:59:59
total_payout_value0.034 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,517
author_reputation6,945,443,409,938
root_title"Mine-Secure - Script to Automate Securing Your Steemit Accounts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id894,656
net_rshares69,813,143,074
author_curate_reward""
vote details (22)
@geoffrey ·
If you're hesitant to run the script because you don't want to screw up your miners, I have good news.  I've tested running the script and changing my miner keys on one computer, while running my witness and miners on another with only the ACTIVE key, and have been [successful at minting PoW](https://steemd.com/tx/8545f7db7bfef5fa8477f90e286bed42097c0a73).
properties (22)
authorgeoffrey
permlinkre-geoffrey-mine-secure-script-to-automate-securing-your-steemit-accounts-20160819t221126547z
categorysteemit
json_metadata{"tags":["steemit"],"links":["https://steemd.com/tx/8545f7db7bfef5fa8477f90e286bed42097c0a73"]}
created2016-08-19 22:11:24
last_update2016-08-19 22:11:24
depth1
children0
last_payout2016-09-19 21:37:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length358
author_reputation6,945,443,409,938
root_title"Mine-Secure - Script to Automate Securing Your Steemit Accounts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id896,794
net_rshares0
@goldstein ·
Thanks for sharing
👍  
properties (23)
authorgoldstein
permlinkre-geoffrey-mine-secure-script-to-automate-securing-your-steemit-accounts-20160820t081333369z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-08-20 08:13:33
last_update2016-08-20 08:13:33
depth1
children0
last_payout2016-09-19 21:37:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length18
author_reputation1,855,308,607,137
root_title"Mine-Secure - Script to Automate Securing Your Steemit Accounts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id902,641
net_rshares52,011,740
author_curate_reward""
vote details (1)
@melek ·
Is there anyway to do this on windows?
👍  , ,
properties (23)
authormelek
permlinkre-geoffrey-mine-secure-script-to-automate-securing-your-steemit-accounts-20160820t011225514z
categorysteemit
json_metadata{"tags":["steemit"]}
created2016-08-20 01:12:30
last_update2016-08-20 01:12:30
depth1
children1
last_payout2016-09-19 21:37:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation3,825,345,106,211
root_title"Mine-Secure - Script to Automate Securing Your Steemit Accounts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id898,891
net_rshares337,720,182
author_curate_reward""
vote details (3)
@geoffrey · (edited)
Sure, follow steem-id's steps for setting up cli_wallet and connect to ws://steemit.com/wspa:8090 or follow [this guide](https://steemit.com/steem/@tuck-fheman/how-to-mine-steem-in-windows) to run steemd locally but instead of the release it lists, download [@bitcube's v0.13.0](https://github.com/btscube/steem/releases/download/0.13.0-rc3/steem-win-13-0rc3.zip).  From there it's the same on Windows, Mac, or Linux.  You just need to [install Python3](https://www.python.org/downloads/) to be able to run the script.  I was able to run it on Windows, though I'll confess the setup is slightly more involved than on Windows.  If you're already mining on your Windows machine, you're 90% of the way there.  Let me know if you get stuck on any of the steps!
👍  
properties (23)
authorgeoffrey
permlinkre-melek-re-geoffrey-mine-secure-script-to-automate-securing-your-steemit-accounts-20160820t022151535z
categorysteemit
json_metadata{"tags":["steemit"],"links":["https://steemit.com/steem/@tuck-fheman/how-to-mine-steem-in-windows"]}
created2016-08-20 02:21:45
last_update2016-08-20 02:22:09
depth2
children0
last_payout2016-09-19 21:37:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length756
author_reputation6,945,443,409,938
root_title"Mine-Secure - Script to Automate Securing Your Steemit Accounts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id899,626
net_rshares3,695,141,147
author_curate_reward""
vote details (1)