programming language
Hack is a programming language for the HipHop Virtual Machine (HHVM), created by Meta (formerly Facebook) as a dialect of PHP. The language implementation is free and open-source software, licensed under an … Wikipedia
Factsheet
Family PHP
Designed by Julien Verlaguet, Alok Menghrajani, Drew Paroski, others
Factsheet
Family PHP
Designed by Julien Verlaguet, Alok Menghrajani, Drew Paroski, others
🌐
Hack
hacklang.org
Hack
Hack reconciles the fast development cycle of a dynamically typed language with the discipline provided by static typing, while adding many features commonly found in other modern programming languages.
🌐
Hack The Box
hackthebox.com
Cyber Mastery: Community Inspired. Enterprise Trusted. | Hack The Box
Validate cybersecurity capabilities and operational readiness against real-world threats by replicating adversarial behaviors or attacks in threat emulation programs, so your teams are confident, capable, and prepared from day zero.
Discussions

In BSG when someone is in a military prison they refr to is as being in "hack". Where does the term come from?
http://en.wiktionary.org/wiki/Appendix:Glossary_of_U.S._Navy_slang Hack: Unofficial punishment where an officer is confined to his stateroom, usually during a port call. During this time, the officer is not allowed to leave the ship (all officers must have permission from the Commanding Officer, or his appointed delegate before disembarking the ship at any port call, including their homeport). More on reddit.com
🌐 r/BSG
8
31
February 2, 2012
What constitutes a hack or hacky code?

Fundamentally, "hacky" code is code that accomplishes some goal by compromising on some principle that people would much rather not compromise on. For example, we might call a program hacky if...

  1. It does not follow good style

  2. It's grossly inefficient

  3. It follows a really awkward design/the flow of logic barely makes sense.

  4. The code digs into the internals of some other library/does not respect the contractual interface of the other library

  5. The code is brittle and fragile (not robust to external change)

  6. etc...

Usually, hacky code arises when people are either rushed for time (and so must compromise on something in order to get the job done), or didn't know what they were doing and either didn't know that they were violating some principle, or weren't experienced enough to care.

Or more generally speaking, the term "hack" will refer to a quick job that does what's needed, but poorly. Consequently, code stops being hacky when it no longer violates these principles of good style and design.

Somewhat confusingly, calling something "hacky" can also be a sort of compliment, based on context. If you're rushing, and barely manage to get something working against all odds, people might call it a "hack" in a sort of admiring/how-the-fuck-did-you-get-that-working tone of voice.

Even more confusingly, the term "hack" can sometimes also mean to either "explore" or "playfully experiment with". The idea is that if you're exploring/experimenting, you're unlikely to write code that follows all the principles of good style because you're liable to throw the code away very soon, and eventually the term "hacking" became in a sense synonymous with the term "exploring".

(And we circle back around -- if people start actually using that exploratory code/nobody bothers to fix it, then you're basically stuck with a hacky codebase and now everybody's miserable).

However, while I can spout definitions, I think the best way to get an intuitive feel for what counts as a hack is to actually instead learn what counts as good code (if you're interested, there are many books that teach the principles of good style -- for example, see Code Complete).

Once you understand what good code should look like, it'll be much easier to spot hacky code -- you feel a sort of instinctual revulsion towards it (or sometimes a fascinated revulsion).

More on reddit.com
🌐 r/learnprogramming
15
28
July 6, 2015
🌐
Fortinet
fortinet.com β€Ί resources β€Ί cyberglossary β€Ί what-is-hacking
What Is Hacking? Types of Hacking & More | Fortinet
1 month ago - Hacking in cyber security refers to the misuse of devices like computers, smartphones, tablets, and networks to cause damage to or corrupt systems, gather information on users, steal data and documents, or disrupt data-related activity.
🌐
HackerOne
hackerone.com
HackerOne | Leader in Continuous Threat Exposure Management | Security for AI
Elite researchers find your most critical vulnerabilities, including novel attack chains and business logic flaws no automated tool reaches.
🌐
Hacker Typer
hackertyper.net
Hacker Typer
Plus, many of you have temporarily transformed into hackers yourselves, all from a few clicks on the keyboard (and some programming magic behind the scenes!).
🌐
HackThisSite
hackthissite.org
Hack This Site
Hack This Site (TOR .onion HTTPS - HTTP) - IRC - Discord - Forums - Store - URL Shortener - CryptoPaste --- Like Us - Follow Us - Fork Us
Find elsewhere
🌐
Cambridge Dictionary
dictionary.cambridge.org β€Ί dictionary β€Ί english β€Ί hack
HACK | English meaning - Cambridge Dictionary
1 week ago - HACK definition: 1. to cut into pieces in a rough and violent way, often without aiming exactly: 2. in football, to…. Learn more.
🌐
Merriam-Webster
merriam-webster.com β€Ί dictionary β€Ί hack
HACK Definition & Meaning - Merriam-Webster
1 week ago - The meaning of HACK is to cut or sever with repeated irregular or unskillful blows. How to use hack in a sentence.
🌐
Quora
quora.com β€Ί What-is-the-meaning-behind-a-hacker-saying-Im-in
What is the meaning behind a hacker saying 'I'm in'? - Quora
Answer: I would interpret that to mean that they have some kind of command-line access and can now execute arbitrary programs. Possibly with administrator privilege. There are some kinds of vulnerability in servers, such as a buffer overflow, which will allow a hacker to execute arbitrary binary...
🌐
YouTube
youtube.com β€Ί watch
Just What Is a Hack? - YouTube
➑️ A hack or hacking can mean several different things -- both good and bad -- depending on what is being said. I'll review the most common definitions.In Sh...
Published Β  June 9, 2021
🌐
IBM
ibm.com β€Ί think β€Ί topics β€Ί cyber-hacking
What Is Hacking? | IBM
November 17, 2025 - Hacking (also called cyber hacking) is the use of unconventional or illicit means to gain unauthorized access to a digital device, computer system or computer network. The classic example is a cybercriminal who exploits security vulnerabilities ...
🌐
SecurityMetrics
securitymetrics.com β€Ί blog β€Ί how-do-hackers-hack
How Do Hackers Hack?
But hackers don’t necessarily require major, newsworthy vulnerabilities to hack. There are thousands of other publicly known vulnerabilities they could exploit. For example, website forms often have validation flaws. An attacker may submit potentially malicious data via a form, which might then be echoed back to the user's browser and rendered on the screen. The screen displays a mix of server content and the attacker's malicious data. This could result in unsuspecting users being redirected to another site where credentials or session information might be captured.
🌐
Reddit
reddit.com β€Ί r/learnprogramming β€Ί what constitutes a hack or hacky code?
r/learnprogramming on Reddit: What constitutes a hack or hacky code?
July 6, 2015 -

I've seen the term used, and have had co-workers use it from time to time when talking about older parts of a system. My question is, what do you consider to be a hack or hacky code? When does it stop being a hack, and start being good code?

Top answer
1 of 5
30

Fundamentally, "hacky" code is code that accomplishes some goal by compromising on some principle that people would much rather not compromise on. For example, we might call a program hacky if...

  1. It does not follow good style

  2. It's grossly inefficient

  3. It follows a really awkward design/the flow of logic barely makes sense.

  4. The code digs into the internals of some other library/does not respect the contractual interface of the other library

  5. The code is brittle and fragile (not robust to external change)

  6. etc...

Usually, hacky code arises when people are either rushed for time (and so must compromise on something in order to get the job done), or didn't know what they were doing and either didn't know that they were violating some principle, or weren't experienced enough to care.

Or more generally speaking, the term "hack" will refer to a quick job that does what's needed, but poorly. Consequently, code stops being hacky when it no longer violates these principles of good style and design.

Somewhat confusingly, calling something "hacky" can also be a sort of compliment, based on context. If you're rushing, and barely manage to get something working against all odds, people might call it a "hack" in a sort of admiring/how-the-fuck-did-you-get-that-working tone of voice.

Even more confusingly, the term "hack" can sometimes also mean to either "explore" or "playfully experiment with". The idea is that if you're exploring/experimenting, you're unlikely to write code that follows all the principles of good style because you're liable to throw the code away very soon, and eventually the term "hacking" became in a sense synonymous with the term "exploring".

(And we circle back around -- if people start actually using that exploratory code/nobody bothers to fix it, then you're basically stuck with a hacky codebase and now everybody's miserable).

However, while I can spout definitions, I think the best way to get an intuitive feel for what counts as a hack is to actually instead learn what counts as good code (if you're interested, there are many books that teach the principles of good style -- for example, see Code Complete).

Once you understand what good code should look like, it'll be much easier to spot hacky code -- you feel a sort of instinctual revulsion towards it (or sometimes a fascinated revulsion).

2 of 5
5

I'd consider hacky code to be difficult to read and understand, or code that works but isn't a viable solution long-term (performs badly, doesn't provide full functionality).

🌐
Ironhack
ironhack.com β€Ί us
Learn Web Development, Data Analytics & UX/UI Design | Ironhack
Launch your tech career with Ironhack. Immersive bootcamps in Web Development, Data Analytics, and UX/UI Design.
🌐
Hackinghub
hackinghub.io
HackingHub - Ethical Hacking Training
Join the front line of the internet, learn applicable cyber security skills with hands on training environments at HackingHub.
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί Hackers_(film)
Hackers (film) - Wikipedia
1 week ago - Made in the mid-1990s when the Internet was just starting to become popular among the general public, it reflects the ideals laid out in the Hacker Manifesto quoted in the film: "This is our world now... the world of the electron and the switch... We exist without skin color, without nationality, ...
🌐
Collins Dictionary
collinsdictionary.com β€Ί us β€Ί dictionary β€Ί english β€Ί hack
HACK definition in American English | Collins English Dictionary
35 senses: 1. to cut or chop (at) irregularly, roughly, or violently 2. to cut and clear (a way, path, etc), as through.... Click for more definitions.
Published Β  January 25, 2018
🌐
IMDb
imdb.com β€Ί title β€Ί tt0113243
Hackers (1995) ⭐ 6.2 | Crime, Drama, Romance
September 15, 1995 - Hackers: Directed by Iain Softley. With Jonny Lee Miller, Angelina Jolie, Jesse Bradford, Matthew Lillard. Teenage hackers discover a criminal conspiracy with plans to use a computer virus that will capsize five oil tankers.
Release date Β  Sep 15, 1995
Duration Β  01:45:00
Director Β  Iain Softley
Rating: 6.2/10 ​ - ​ 81.3K votes
🌐
Instagram
instagram.com β€Ί hacked
My Instagram was Hacked | Instagram Support
Get Instagram support for account access issues including hacked or disabled accounts, problems logging in and impersonation.