Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #161

Open
wants to merge 30 commits into
base: master
Choose a base branch
from
Open

Dev #161

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ _site
Gemfile.lock
*.gem
.jekyll-cache
run.sh
Binary file added .jekyll-metadata
Binary file not shown.
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
title: Hacker theme
description: Hacker is a theme for GitHub Pages.
show_downloads: true
title: Luca Puzzoni
description: aka k0d14k.
show_downloads: false
google_analytics:
theme: jekyll-theme-hacker
17 changes: 7 additions & 10 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}">
{% include head-custom.html %}

{% seo %}
{% seo %}
</head>

<body>
Expand All @@ -18,15 +17,13 @@
<h1>{{ site.title | default: site.github.repository_name }}</h1>
</a>
<h2>{{ site.description | default: site.github.project_tagline }}</h2>

<section id="downloads">
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download as .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download as .tar.gz</a>
{% endif %}
<a href="{{ site.github.repository_url }}" class="btn btn-github"><span class="icon"></span>View on GitHub</a>
</section>
</div>
<nav class="container" style="text-align: right;">
<a href="{{'/index'}}">Home</a>
<a href="{{'/pages/about'}}">About</a>
<a href="{{'/pages/projects'}}">Projects</a>
<a href="{{'/pages/writeups'}}">Writeups</a>
</nav>
</header>

<div class="container">
Expand Down
9 changes: 0 additions & 9 deletions another-page.md

This file was deleted.

Binary file added assets/images/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/pdf/tesi_puzzoni.pdf
Binary file not shown.
366 changes: 247 additions & 119 deletions index.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions news_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<article>
<div style="display: flex;">
<div style="flex: 1">
<center>
<img width="400em" src="[LINK IMMAGINE]" alt="">
</center>
</div>
<div style="flex: 1">
<h2>[CTF] - [Challenge] - Writeup oppure altro titolo</h2>
<p>[TESTO NEWS]</p>

<center>
<a href="[LINK]" class="btn">Check it Out</a>
</center>

<br>
<small>[DATA]</small>
</div>
</div>
</article>
43 changes: 43 additions & 0 deletions pages/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
layout: default
---

<h2>Career and Academy</h2>
<table>
<tr>
<td>
<img src="/assets/images/profile.png" alt="profilePhoto" width="75%">
</td>
<td>
<ul>
<li>Bachelors Degree in Computer Science at <a href="https://www.unica.it" target="_blank">University of Cagliari</a>.</li>
<li>By the day Software Security Consultant at <a href="https://mindedsecurity.com" target="_blank">IMQ Minded Security</a>.</li>
<li>
By the night H@cker for <a href="https://srdnlen.unica.it" target="_blank">Srdnlen</a> CTF team as k0d14k.
<ul>
<li>Web Security</li>
<li>Forensics</li>
</ul>
</li>
</ul>
</td>
</tr>
</table>
<p>Welcome in my portfolio. Here I'm going to publish some projects and writeups I worked up.</p>

<h2>Biography</h2>
<p>
I was born in Cagliari in 1998. After 5 years of economical studies in I.T.C Primo Levi I decide to get a Degree and
I sign myself at University of Cagliari where I got a Bachelors Degree with my Thesis "Studio ed analisi di librerie
crittografiche impiegate da malware Android" in 2021 (you can read it from <a href="{{'/assets/pdf/tesi_puzzoni.pdf'}}" target="_blank">here</a>) .
</p>
<p>In 2019 I attended the CyberChallenge.it course and I discovered my passion for Cyber Security activities and I'm part of Srdnlen Team since the end of this course.</p>
<p>This Team of ethical hackers is busy with international CTF competitions and We are ranked from 2020 between the top Italian players.</p>
<p>Right now I'm a Software Security Consultant at IMQ Minded Security and provide consulence to some very important customers.</p>
<p>Feel free to fork my projects on GitHub or to contact me if you want a collaboration to any project or to get writeups explaination, You'll find some of my contacts on the contants page.</p>

<hr>

<h2>Contacts</h2>
<a href="https://www.github.com/lucapuzzoni" target="_blank" class="btn btn-success">GitHub</a>
<a href="https://it.linkedin.com/in/lucapuzzoni" target="_blank" class="btn btn-success">LinkedIn</a>
Binary file added pages/hackthebox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions pages/projects.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
---

<h2>Projects</h2>
<div class="card w-100 mb-3">
<div class="card-body text-dark">
<h5 class="card-title">Studio ed analisi di librerie crittografiche impiegate da malware Android</h5>
<p class="card-text">
My Bachelors Degree Thesis
</p>
</div>
<div class="card-footer text-dark d-flex justify-content-end">
<a href="{{'/assets/pdf/tesi_puzzoni.pdf'}}" target="_blank" class="btn btn-success">Read</a>
</div>
</div>
81 changes: 81 additions & 0 deletions pages/projects/javaGenericCrud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
---
layout: post
author: k0d14k
---

Github : <a href="https://github.com/lucapuzzoni/GenericCRUD">Here</a>

## Configuration istructions
You can use this project to implement automatically your CRUD methods.

You just have to create a **SpringBoot Application project** from [here](https://start.spring.io/) using **Maven** with all the following dependencies:

```xml

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
```

And then copy the `it.lucapuzzoni.crud` package in your `src/main/java` directory.

## Usage Istructions
To use my classes you must extend them. With an example it should be clear.

### Entity
```Java
@Entity @Table(name = 'yourTable')
public class YourEntity extends CrudModel<YourEntity>{
// You'll not need to add the @Id field

// Add all columns you want using JPA notations

/**
Remember to implement the absorbe method because is
the method will be called by the update fuction
*/
}
```

### Repository
```Java
@Repository
public interface YourRepository extends CrudRepository<YourEntity>{
// Your Entity should extend CrudModel
}
```

### Service
```Java
@Service
public interface YourService extends CrudService<YourEntity>{}


@Service
public class YourServiceImpl extends CrudServiceImpl<YourEntity>{}
```

### Controller
```Java
@Controller
public class YourController extends CrudController<YourEntity>{}
```

## Conclusions
If you like this project put a Star and Join me to update it otherwise please, explain to me what you didn't like opening an issue and discussing it with me.
Loading