Skip to content

Commit bca5dfc

Browse files
committed
site check
1 parent 8683d6a commit bca5dfc

File tree

3 files changed

+35
-8
lines changed

3 files changed

+35
-8
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ package-lock.json
2525
# Misc
2626
_sass/dist
2727
assets/js/dist
28+
29+
.ruby-version

_config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,37 @@ theme: jekyll-theme-chirpy
99
lang: en
1010

1111
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
12-
timezone:
12+
timezone: America/Los_Angeles
1313

1414
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
1515
# ↓ --------------------------
1616

17-
title: Chirpy # the main title
17+
title: Greyshell's Diary # the main title
1818

19-
tagline: A text-focused Jekyll theme # it will display as the subtitle
19+
tagline: Slip through the cracks # it will display as the subtitle
2020

2121
description: >- # used by seo meta and the atom feed
2222
A minimal, responsive and feature-rich Jekyll theme for technical writing.
2323
2424
# Fill in the protocol & hostname for your site.
2525
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26-
url: ""
26+
url: "https://greyshell.github.io"
2727

2828
github:
29-
username: github_username # change to your GitHub username
29+
username: greyshell # change to your GitHub username
3030

3131
twitter:
3232
username: twitter_username # change to your Twitter username
3333

3434
social:
3535
# Change to your full name.
3636
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37-
name: your_full_name
37+
name: Abhijit Sinha
3838
email: [email protected] # change to your email address
3939
links:
4040
# The first element serves as the copyright owner's link
41-
- https://twitter.com/username # change to your Twitter homepage
42-
- https://github.com/username # change to your GitHub homepage
41+
- https://twitter.com/greyshell__ # change to your Twitter homepage
42+
- https://github.com/greyshell # change to your GitHub homepage
4343
# Uncomment below to add more social links
4444
# - https://www.facebook.com/username
4545
# - https://www.linkedin.com/in/username
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
title: "Insecure Deserialization in Java"
3+
date: 2019-11-22 22:17:55 -0800
4+
categories: [web_security]
5+
tags: [java, insecure_deserialization] # TAG names should always be lowercase
6+
---
7+
8+
I was always curious about how the actual remote code execution occurs during the Insecure Deserialization process. So I thought of giving a try to understand the known harmful `gadgets` from `commons-collections-3.2.2.jar` and develop the entire chain from scratch.
9+
10+
<!-- more -->
11+
12+
## Serialization
13+
14+
The process of converting the `state` of object into stream of bytes is called `serialization`.
15+
16+
The purpose of serialization is to save the object’s state to the file system or transmit it over the network for future use.
17+
18+
### Serialization in Java
19+
20+
> - `Serializable` is a `marker interface`.
21+
> - It has no `data member` and `method`.
22+
> - It is only used to `mark` java classes so that objects of these type of classes may get a certain `capability`.
23+
24+
25+
Create a `User` class and make it `serializable`.

0 commit comments

Comments
 (0)