Skip to content

Instantly share code, notes, and snippets.

View MichaelDoyle's full-sized avatar

Michael Doyle MichaelDoyle

View GitHub Profile
@MichaelDoyle
MichaelDoyle / readynas.sh
Created December 7, 2020 02:27
Making requests to a ReadyNAS storage unit
#!/bin/bash
set -e
# Fill these in as appropriate
NAS_IP=""
USERNAME=""
PASSWORD=""
# First request is to get the csrfpId, which needs to be passed in future requests.
# The same csrfpId can be re-used accross multiple requests in this session.

Keybase proof

I hereby claim:

  • I am michaeldoyle on github.
  • I am michaeldoyle (https://keybase.io/michaeldoyle) on keybase.
  • I have a public key whose fingerprint is 629F 573D 1CD1 C650 7AEE E59C 5A11 E3C9 7C45 B09C

To claim this, I am signing this object: