Robbing the FED: Directly Obtaining Private Data in Federated Learning with Modified Models

This repo contains a barebones implementation for the attack detailed in the paper: Fowl L, Geiping J, Czaja W, Goldblum M, Goldstein T. Robbing the Fed: Directly Obtaining Private Data in Federated Learning with Modified Models. arXiv preprint arXiv:2110.13057. 2021 Oct 25. Left: batch of 64 ImageNet images. Right: Images reconstructed with imprint module containing 128 bins placed in front of a ResNet-18. Average PSNR: 70.94. Abstract: Federated learning has quickly gained popularity with its promises of increaseduser privacy   […]

Read more

Log4j minecraft with python

This code DOES NOT promote or encourage any illegal activities!The content in this document is provided solely for educational purposes and to create awareness! To run this project follow the following steps: Clone the repository:git clone https://github.com/davidbombal/log4jminecraft.git Run the script log4j.py (python3 log4j.py i.e. python3 log4j.py 192.168.1.132). This installs the prerequisite software, and also starts up the LDAP server. Run the script jcomp_pyserv.py (python3 jcomp_pyserv.py). This compiles the Java payload to be ran, and also starts a python3 http.server. GitHub […]

Read more

A python package to import files from an adjacent folder

About EasyImports is a python package that allows users to easily access and import files from sister folders:f.ex: – Project – Folder 1 -main.py – Folder 2 -userpackage1.py -other_stuff.py – My Folder -important_package.py if you would try to import anything in main.py that isn’t in Folder 1 you’ll get an error.F.ex: in main.py import userpackage1 from Folder 2 import other_stuff.py import My Folder.important_package.py => Each of these will raise a ModuleNotFoundErrorWith EasyImports this can be fixed. Installing

Read more

It’s time to stop using Python 3.6

Upgrading to new software versions is work, and work that doesn’t benefit your software’s users. Users care about features and bug fixes, not how up-to-date you are. But there is only so much time you can delay upgrading, and for Python 3.6, the time to upgrade is right now. Python 3.6 is reaching its end of life as of December 2021. No more bug fixes. No more security fixes. “It’s dead, Jim.” As of mid-December 2021, 15% of packages downloaded […]

Read more

A TensorFlow implementation for C2-Rec

This is a TensorFlow implementation for C2-Rec We refer to the repo SASRec. Requirements requirement.txt Datasets This repo includes Amazon Beauty dataset as an example. you could also download Amazon review data from here. Model Training To train model on Beauty: python main.py –dataset=Beauty –train_dir=model_train –maxlen=50 –dropout_rate=0.5 –con_alpha=5.0 –rd_alpha=1.0 –neg_test=500 –user_reg_type=kl –lr=0.001 –rd_reduce=mean –neg_sample_n=50 GitHub View Github    

Read more
1 308 309 310 311 312 916