• Trang Chủ
  • Blog
    • Reviews
    • How To
    • Crypto News
    • WordPress Plugin
  • Thịnh Hành
No Result
View All Result
Mèo Pari Chia Sẻ Nhiều Sự Lựa Chọn
  • Trang Chủ
  • Blog
    • Reviews
    • How To
    • Crypto News
    • WordPress Plugin
  • Thịnh Hành
No Result
View All Result
Mèo Pari Chia Sẻ Nhiều Sự Lựa Chọn
No Result
View All Result

Clever Ethereum honeypot lets coins come in but won’t let them back out – TechCrunch

meopari by meopari
25/10/2022
in Old
0 0
0
0
SHARES
0
VIEWS
Share on FacebookShare on Twitter

An interesting new Ethereum-based honeypot has been discovered that essentially allows hackers to steal from hackers. The honeypot is detailed on Reddit. A user was hunting for examples of contracts that exhibited possible were susceptible to a “reentrancy attack.” It’s a bit complex but at its core the attack lets you concurrently request your money out of a smart contract over and over before the contract is able to set your account total to zero. Imagine being able to call the back over and over again and ask for $5 before it was able to debit your account to $0.

The contracts are visible on the network and are easy to find. The Reddit user found one and tested it, finally sending 1 Eth – about $1,000 – into the system. He expected to be able to pull out multiple Ethereum thanks to the reentrancy attack. In the worst case these contracts allow you to withdraw they Ether that you deposited so there was seemingly little risk. However, it got stuck.

“Beauty!”, I thought. “I can have some fun and try out this hack, and give the funds back to the contract creator later. There’s 1 ETH in there, so it should be a fun challenge, maybe do a victorious blog post later”.
The first thing I did is to is to re-deploy his contract on Ropsten testnet. Then I wrote my exploit code, and tried it out. After a few tries, it worked! I was able to empty the test contract using my exploit contract.
So next day, I decided it was time to run it on the real thing. Min deposit was 1 Ether.

Once it got stuck once he sent another Ether as a test. It was stuck again. Then, a few moments later, the Ether disappeared. The owner of the honeypot had pulled out the Ether.

One Reddit commenter checked the code and found that all withdrawals had been secretly disconnected in the contract, ensuring that only the owner of the contract could get at the money.

“It’s quite clever, because if you do the deposit and withdraw in separate transactions, you’ll find that the deposit works and the withdraw fails. If you do them together in a single transaction, you’ll still find that the deposit works and the withdraw fails (in the same transaction!),” he wrote.

RelatedPosts

No Content Available
Previous Post

Next Post

meopari

meopari

MeoPari là một website tổng hợp nhiều sự lựa chọn với góc nhìn đa chiều từ nhiều tác giả cho bạn có cái nhìn tổng quan mọi vấn đề và kiến thức

Next Post

Top 9 reddit how long til coin arrives in 2022

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Khung Thành Bóng Đá Quốc Tế Bao Nhiêu Mét Theo FIFA

07/02/2023

Điểm chuẩn Học viện An ninh Nhân dân giảm nhiệt khi xét tuyển kết hợp

07/02/2023

Tấm ván lót sàn gác lửng gác xép giá rẻ nhất – Độ bền 50 năm

07/02/2023

Các Quan Điểm Quản Trị Marketing 

07/02/2023

20+ mẫu thiết kế nội thất biệt thự đẹp cao cấp nhất 2021

07/02/2023

Dịch Vụ Làm Phim Hoạt Hình 2D & 3D Chuyên Nghiệp (100 Video Mẫu )

07/02/2023

Trường Đại học Tài chính – Ngân hàng Hà Nội – Tuyển sinh 2022 – JobsGO Blog

07/02/2023

Sơ đồ chiến thuật bóng đá 4-2-3-1 – VUA PHÁ LƯỚI

07/02/2023

The 27 Least Expensive Cars With The Most Torque

07/02/2023

Khung thành thủ môn bao nhiêu mét? Cùng tìm hiểu chi tiết

07/02/2023

Phổ Biến Nhất

  • Top 12 review massage hà nội mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 7 massage oasis láng hạ review mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 13 review massage hoa đà quy nhơn mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 5 review massage nine tây nam linh đàm mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 7 xe máy classic mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 9 nằm mơ thấy bị chặt tay mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 16 stt bán xe máy mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 7 gojek chạy từ máy giờ đến máy giờ mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 8 cách root máy xiaomi không cần máy tính mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
  • Top 10 review làm chân mày chivee mới nhất năm 2022

    0 shares
    Share 0 Tweet 0
Sitemap
  • Thịnh Hành

© 2022 meopari.com

No Result
View All Result
  • Trang Chủ
  • Blog
    • Reviews
    • How To
    • Crypto News
    • WordPress Plugin
  • Thịnh Hành

© 2022 meopari.com

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In