Actually be able to broadcast lnd exploit #44

Merged
tonygiorgio merged 3 commits from benthecarman/LNsploit:actually-broadcast into master 1 month ago
Owner

Reliant on: https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/254

When I run this it seems to crash the ldk nodes, not sure how that is happening

Reliant on: https://github.com/rust-bitcoin/rust-bitcoincore-rpc/pull/254 When I run this it seems to crash the ldk nodes, not sure how that is happening
benthecarman added 1 commit 1 month ago
benthecarman force-pushed actually-broadcast from a510198c17 to 4dfde5ec7e 1 month ago
benthecarman force-pushed actually-broadcast from 4dfde5ec7e to 24501dc4a0 1 month ago

Seems to work on my machine but the LND node doesn't seem to crash tho:

2022-11-02 01:26:00.842 INFO  [node:0] broadcasted id: 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac                                                                       
2022-11-02 01:26:00.842 DEBUG [dad:334] broadcasted tx!                                                                                                                                       
2022-11-02 01:26:01.502 DEBUG [lightning::chain::chainmonitor:493] New best block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac at height 104 provided via block_connected 
2022-11-02 01:26:01.502 TRACE [lightning::ln::channelmanager:5624] 3 transactions included in block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac at height 104 provided   
2022-11-02 01:26:01.502 TRACE [lightning::ln::channelmanager:5643] New best block: 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac at height 104  
2022-11-02 01:26:00.859 [INF] CRTR: Pruning channel graph using block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac (height=104)
2022-11-02 01:26:00.863 [INF] CRTR: Block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac (height=104) closed 0 channels
2022-11-02 01:26:00.878 [INF] NTFN: New block: height=104, sha=0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac
2022-11-02 01:26:00.878 [INF] UTXN: Attempting to graduate height=104: num_kids=0, num_babies=0

Seems to work on my machine but the LND node doesn't seem to crash tho: ``` 2022-11-02 01:26:00.842 INFO [node:0] broadcasted id: 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac 2022-11-02 01:26:00.842 DEBUG [dad:334] broadcasted tx! 2022-11-02 01:26:01.502 DEBUG [lightning::chain::chainmonitor:493] New best block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac at height 104 provided via block_connected 2022-11-02 01:26:01.502 TRACE [lightning::ln::channelmanager:5624] 3 transactions included in block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac at height 104 provided 2022-11-02 01:26:01.502 TRACE [lightning::ln::channelmanager:5643] New best block: 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac at height 104 ``` ``` 2022-11-02 01:26:00.859 [INF] CRTR: Pruning channel graph using block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac (height=104) 2022-11-02 01:26:00.863 [INF] CRTR: Block 0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac (height=104) closed 0 channels 2022-11-02 01:26:00.878 [INF] NTFN: New block: height=104, sha=0eb5c139cdbba3fa965684f9dd17375d35a297e1459918b4734ade8d4ad3f1ac 2022-11-02 01:26:00.878 [INF] UTXN: Attempting to graduate height=104: num_kids=0, num_babies=0 ```
benthecarman added 1 commit 1 month ago
benthecarman force-pushed actually-broadcast from 3c176b1bb3 to 4169d68c88 1 month ago
benthecarman added 1 commit 1 month ago

Works! Nicely done! Tested against LND v0.15.2

2022-11-02 02:45:07.710 [ERR] LNWL: Unable to deserialize transaction: MsgTx.BtcDecode: too many witness items to fit into max message size [count 500003, max 500000]
2022-11-02 02:45:07.783 [ERR] LNWL: Unable to deserialize block: MsgTx.BtcDecode: too many witness items to fit into max message size [count 500003, max 500000]

Works! Nicely done! Tested against LND v0.15.2 ``` 2022-11-02 02:45:07.710 [ERR] LNWL: Unable to deserialize transaction: MsgTx.BtcDecode: too many witness items to fit into max message size [count 500003, max 500000] 2022-11-02 02:45:07.783 [ERR] LNWL: Unable to deserialize block: MsgTx.BtcDecode: too many witness items to fit into max message size [count 500003, max 500000] ```
tonygiorgio approved these changes 1 month ago
tonygiorgio merged commit 1b6a9b7358 into master 1 month ago
benthecarman deleted branch actually-broadcast 1 month ago

Reviewers

tonygiorgio approved these changes 1 month ago
The pull request has been merged as 1b6a9b7358.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: BitcoinDevShop/LNsploit#44
Loading…
There is no content yet.