Skip to content

Instantly share code, notes, and snippets.

@evokelektrique
Last active August 16, 2021 20:24
Show Gist options
  • Save evokelektrique/5ca73f22dc987976d2d5cd5a9183fea7 to your computer and use it in GitHub Desktop.
Save evokelektrique/5ca73f22dc987976d2d5cd5a9183fea7 to your computer and use it in GitHub Desktop.
Replicant Todo List

Goals

  • Centeralizing Posts On Development
  • Centralizing WooCommerce Products
  • Centralizing Users
  • Centralizing Media

ON GOING

  • Logs Expiration ( )
  • Two Way Acceptance of Nodes (+)
  • Create a notification badge and have a list of awaiting to be trusted nodes in main-menu.php and have buttons to reject/accept them. ( )
  • Create Acceptance Requests In form handler or delayed job ?? (+)
  • Add empty index.php to all folders ( )
  • Fix request_trust variable host related to accept_trust deform it and remove http:// or https:// from it (+)
  • Fix node hash and get the target node hash at node creation or get all The data form that so everything would be identical (+)

Problems

Problem 1:

Prevent attacker to gain access to another node.

(HASH_KEY_1)   
Node 1(Master) -> (HASH_KEY_2)
                  Node 2(Slave) 

               -> (HASH_KEY_3)      (HASH_KEY_4)
                  Node 3(Slave) <- Node 4(Attacker)

Solutions:

  • Trusted Nodes & Two way acceptance

Instructions:

  • Query Posts And Use "wp_insert_post" to insert posts and set associated meta tags to post via "get_post_meta" and "add_post_meta" Source

  • Upload Images Into Media Library using "media_handle_sideload" Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment