Exploit databaseDownload repository ZIP
GH-67351406b1232afd77e0cd1360df3e3c
ahornyai/lattice_talk
Sources for CVE-2024-31497
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files19
ahornyai/lattice_talkRevision f0a6bd1b189c
- ↑..Parent directory
- 2b2t_masons_base.jpg
- 2b2t_spawn.webp
- NextFloat.java
- SpawnItem.java
- WoodlandCode.java
- babai_impl.py
- ecdsa_predictable_nonce.png
- github.png
- github_ecc_cryptanalysis.png
- linkedin.png
- lll_implementation_example.py
- minecraft_survival.png
- minerva.png
- msb_attack_code.png
- putty_cve.png
- quat_multiplication.png
- sage_2d_lll.png
- svp_fail_1.png
- svp_success.png
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
assets/SpawnItem.java
Java · 517 bytes/**
* Spawns the given ItemStack as an EntityItem into the World at the given position
*/
public static void spawnAsEntity(World world, BlockPos pos, ItemStack stack) {
double xInBlock = world.rand.nextFloat() * 0.5F + 0.25D;
double yInBlock = world.rand.nextFloat() * 0.5F + 0.25D;
double zInBlock = world.rand.nextFloat() * 0.5F + 0.25D;
EntityItem entityitem = new EntityItem(world, pos.getX() + xInBlock, pos.getY() + yInBlock, pos.getZ() + zInBlock, stack);
world.spawnEntity(entityitem);
}