AWS |
AWSタグが付けられた新着投稿 - Qiita |
Amazon Linux 2023 (Amazon Linux 2 との比較) |
https://qiita.com/leomaro7/items/b376c50a4ce63585d0e3
|
amazon |
2023-04-01 20:36:49 |
技術ブログ |
Developers.IO |
Amazon Omics Analytics の Variant Store へファイルの一括インポートができるようになりました |
https://dev.classmethod.jp/articles/amazon-omics-batch-variant-store-imports/
|
amazonomicsanalytics |
2023-04-01 11:29:25 |
海外TECH |
Ars Technica |
Nvidia’s GameStream is dead. Sunshine and Moonlight are great replacements. |
https://arstechnica.com/?p=1906410
|
hackathon |
2023-04-01 11:30:54 |
海外TECH |
Ars Technica |
As glaciers retreat, new streams for salmon |
https://arstechnica.com/?p=1928383
|
spring |
2023-04-01 11:07:01 |
海外TECH |
MakeUseOf |
How to Fix the ChatGPT Login Error |
https://www.makeuseof.com/how-fix-chatgpt-login-error/
|
error |
2023-04-01 11:15:16 |
海外TECH |
DEV Community |
Permissions |
https://dev.to/brunoblaise/permissions-i55
|
Permissions Permissions pointsAUTHOR GEOFFREY NJOGUDescriptionCan you read files in the root file Additional details will be available after launching your challenge instance Note This challenge launches an instance on demand Connecting to the server and cding to I saw a directory named challenge inside it there was a file which when cating it game the flag picoCTF your flag |
2023-04-01 11:50:33 |
海外TECH |
DEV Community |
Rules 2023 picoCTF |
https://dev.to/brunoblaise/rules-2023-picoctf-1054
|
Rules picoCTF Rules pointsAUTHOR LT SYREAL JONESDescriptionRead the rules of the competition and get a little bonus RulesIf you look through the rules under What are the other rules and terms for picoCTF you can see the flag is an image hence the hint saying CTRL f won t work and it says picoCTF your flag |
2023-04-01 11:47:46 |
海外TECH |
DEV Community |
Chrono picoCTf 2023 |
https://dev.to/brunoblaise/chrono-picoctf-2023-1j8h
|
Chrono picoCTf chrono pointsAUTHOR MUBARAK MIKAILDescriptionHow to automate tasks to run at intervals on linux servers Additional details will be available after launching your challenge instance Note This challenge launches an instance on demand When we launch the instance and ssh to the relevant credentials given to us we are presented with a shell Based on the question prompt it had to be cron jobs After various attempts to access crontab itself I tried looking inside etc crontab with the cat command and it had the flag prompt for my session picoCTF your flag |
2023-04-01 11:42:59 |
海外TECH |
DEV Community |
PcapPoisoning PicoCTF 2023 |
https://dev.to/brunoblaise/pcappoisoning-picoctf-2023-59bi
|
PcapPoisoning PicoCTF PcapPoisoning pointsAUTHOR MUBARAK MIKAILDescriptionHow about some hide and seek heh Download this file and find the flag I just used strings and oh there was a sus string in the file what could it be or just open the file and CRTL F and find pico and you will find the flag picoCTF your flag |
2023-04-01 11:38:19 |
海外TECH |
DEV Community |
Who is it PicoCTF 2023 |
https://dev.to/brunoblaise/who-is-it-picoctf-2023-1gib
|
Who is it PicoCTF who is it pointsAUTHOR JUNIAS BONOUDescriptionSomeone just sent you an email claiming to be Google s co founder Larry Page but you suspect a scam Can you help us identify whose mail server the email actually originated from Download the email file here Flag picoCTF FirstnameLastname Looking into the eml file its not very hard to see that the only IP address there is the attackers IP I tried for so long with many different websites to lookup either the mail or the IP and only had the name of the person with the relevant IP and it sWilhelm ZwalinaSo the answer is picoCTF WilhelmZwalina |
2023-04-01 11:35:12 |
海外TECH |
DEV Community |
MSB picoCTF 2023 |
https://dev.to/brunoblaise/msb-picoctf-2023-4m38
|
MSB picoCTF MSB pointsAUTHOR LT SYREAL JONESDescriptionThis image passes LSB statistical analysis but we can t help but think there must be something to the visual artifacts present in this image Download the image here This type of challenge can be easily solved with StegSolve because this site can extract LSB data with pixel order and RGB values or by using this github repo may help you and using python sigBits py t msb o rgb e column file pngI tried the first default option gt the first row in this site and got readable words so I downloaded the whole using sigbits go in the extracted file and CTRL F the word pico both ways work I found the flag picoCTF your flag |
2023-04-01 11:32:48 |
海外TECH |
DEV Community |
How to Choose Your Type: TypeScript Interfaces vs Types |
https://dev.to/jagroop2000/how-to-choose-your-type-typescript-interfaces-vs-types-51hc
|
How to Choose Your Type TypeScript Interfaces vs TypesWhile working with Typescript we have ever thought that if type and interface works the same then why we have options Why we need type or interface even one of them is enough for us But actually even they works similar they are different from each other So in this blog I will clear all the doubts regarding type and interface So let s get s started In Typescript type and interface are used to define custom types i e shape of object There syntax would be written as Defining a typetype Student name string age number Defining an interfaceinterface Teacher name string age number How they are different Interface Support Declaration Merging Declaration Merging means we can declare multiple interfaces with the same name and Typescript will merge them into a single interface For Example interface Teacher name string interface Teacher age number interface Teacher subject string const teacher Teacher name John age subject Mathematics On the other hand we can t merge types in Typescript type keyword supports Computed properties but interface doesn t What does Computed Properties mean Computed properties are a way of dynamically generating property names in an object literal in TypeScript In TypeScript computed properties are supported by the type keyword but not by the interface keyword This is because interface is a declaration that describes the shape of an object and its properties must be known at compile time On the other hand type is a way of defining a custom type and allows for more flexibility including the ability to define computed properties Here s an example of using computed properties in a type definition type Student name string age number key string unknown Computed property const student Student name John age address ABC Computed property phone Computed property type is very useful when we want to store key value that is coming from API because we don t know exactly about key vaue that is coming from API response and in future if new keys values are added or deleted then we don t need to worry about removing it from code So I hope this blog will clear the doubts regarding type and interface If you know more interesting one please share in comments |
2023-04-01 11:31:30 |
海外TECH |
DEV Community |
Create a Simple 5-Card Draw Poker Game in Python with Asyncio |
https://dev.to/rainleander/create-a-simple-5-card-draw-poker-game-in-python-with-asyncio-2ifh
|
Create a Simple Card Draw Poker Game in Python with AsyncioIn this blog post we will create a simple card draw poker game in Python using the asyncio library The game will allow to players to play without a betting aspect but it will determine a winner based on their poker hands The main purpose of using the asyncio library in this example is to familiarize ourselves with asynchronous programming concepts even though our game does not require concurrent execution Asynchronous programming is a programming paradigm that allows multiple tasks to be performed concurrently without waiting for one task to finish before starting the next one This is particularly useful in situations where tasks involve I O bound operations such as reading from a file or making network requests which can take a significant amount of time The asyncio library is an essential component of asynchronous programming in Python It provides an event loop coroutines and other utilities that enable developers to write efficient non blocking code significantly improving the performance and responsiveness of applications particularly in networking and web based contexts In this tutorial we will leverage the asyncio library to create a simple poker game demonstrating the power and flexibility of asynchronous programming in Python Requirements Python Step Importing necessary libraries and defining the dataclassesFirst let s import the required libraries and define our dataclasses for Card Rank Suit and GameState import asyncioimport randomfrom collections import Counterfrom dataclasses import dataclassfrom enum import Enum autofrom typing import List Tupleclass Suit Enum SPADES HEARTS DIAMONDS CLUBS class Rank Enum TWO THREE FOUR FIVE SIX SEVEN EIGHT NINE TEN JACK QUEEN KING ACE dataclassclass Card suit Suit rank Rank def str self return f self rank name capitalize self suit value dataclassclass GameState deck List Card players List List Card Step Implementing the deck creation and shuffling functionsNow let s create a function to create a deck of cards and another function to shuffle the deck using asyncio def create deck gt List Card return Card suit rank for suit in Suit for rank in Rank async def shuffle deck deck List Card gt List Card await asyncio sleep simulating asynchronous behavior random shuffle deck return deckStep Dealing and ranking handsNext we need to implement a function to deal cards from the deck and a function to rank the hands of the players async def deal cards game state GameState num cards int gt List Card new cards for in range num cards card game state deck pop new cards append card return new cardsdef rank hand hand List Card gt Tuple int List int ranks sorted card rank value for card in hand reverse True suits card suit for card in hand rank counts Counter ranks is flush len set suits is straight len set ranks and max ranks min ranks Determine hand rank based on poker hand rankings refer to the previous code snippets for the full rank hand function Step Drawing cards and playing the gameNow let s add the functionality to draw new cards after discarding and the main game loop async def draw cards game state GameState player idx int discard indices List int gt None player hand game state players player idx for index in sorted discard indices reverse True del player hand index new cards await deal cards game state len discard indices game state players player idx player hand new cardsasync def play game num players int gt None deck await shuffle deck create deck game state GameState deck deck players for in range num players for i in range num players game state players i await deal cards game state for i player hand in enumerate game state players print f Player i s hand join str card for card in player hand for i in range num players discard indices input f Player i enter the indices of the cards to discard separated by spaces discard indices int index for index in discard indices split await draw cards game state i discard indices for i player hand in enumerate game state players print f Player i s final hand join str card for card in player hand hand ranks rank hand hand for hand in game state players max rank max hand ranks winner idx hand ranks index max rank print f Player winner idx wins with a join str card for card in game state players winner idx Step Running the gameFinally let s add the main function to run the game if name main num players int input Enter the number of players while not lt num players lt num players int input Enter a valid number of players asyncio run play game num players Now save the code in a file named poker py and run it using the following command python poker pyCongratulations You ve created a simple card draw poker game in Python using the asyncio library Although the primary purpose was to familiarize ourselves with asynchronous programming the game can be further extended and improved with additional features such as betting improved user interface or even networked multiplayer capabilities Happy coding and enjoy playing poker |
2023-04-01 11:29:49 |
海外TECH |
DEV Community |
Hideme PicoCTF 2023 |
https://dev.to/brunoblaise/hideme-picoctf-2023-3kp7
|
Hideme PicoCTF hideme pointsAUTHOR GEOFFREY NJOGUDescriptionEvery file gets a flag The SOC analyst saw one image been sent back and forth between two people They decided to investigate and found out that there was more than what meets the eye here The file is a normal PNG image with pretty much nothing suspicious other than a hidden file within it accessed by binwalk e nameofthefile cd in into the directory named secret generated from the extraction had an image with the flag prompt in it picoCTF your port |
2023-04-01 11:26:20 |
海外TECH |
DEV Community |
FindAndOpen PicoCTF 2023 |
https://dev.to/brunoblaise/findandopen-picoctf-2023-4gbm
|
FindAndOpen PicoCTF FindAndOpen pointsAUTHOR MUBARAK MIKAILDescriptionSomeone might have hidden the password in the trace file Find the key to unlock this file This tracefile might be good to analyze This was a kinda random challenge using strings on the pcap file I got a lot of random stuff but in between it there were a could of messages of interest Flying on Ethernet secret Is this the flagiBwaWNvQRGeCould the flag have been splitted AABBHHPJGTFRLKVGhpcyBpcyBaGUgcVjcmVOiBwaWNvQRGeIzNERJTkdfTELZF PBwaWUvQRGesabababkjaASKBKSBACVVAVSDDSSSSDSKJBJSPBwaWUvQRGeMaybe try checking the other fileWell basically I thought that the string AABBHHPJGTFRLKVGhpcyBpcyBaGUgcVjcmVOiBwaWNvQRGeIzNERJTkdfTELZF was a base string but decoding it seperatly got nothing and well if the file said Could the flag have been splitted I tried arranging iBwaWNvQRGe AABBHHPJGTFRLKVGhpcyBpcyBaGUgcVjcmVOiBwaWNvQRGeIzNERJTkdfTELZF and PBwaWUvQRGesabababkjaASKBKSBACVVAVSDDSSSSDSKJBJSOne after another to get something When I decoded the string iBwaWNvQRGePBwaWUvQRGeAABBHHPJGTFRLKVGhpcyBpcyBaGUgcVjcmVOiBwaWNvQRGeIzNERJTkdfTELZF in cyberchef I got the output garbage This is the secret picoCTF RDING LOKd Well using it as the password to unlock the zip revealed a file which had the flag picoCTF your flag |
2023-04-01 11:14:34 |
海外TECH |
DEV Community |
SRA PicoCTF 2023 |
https://dev.to/brunoblaise/sra-picoctf-2023-278b
|
SRA PicoCTF SRA pointsAUTHOR FXTRTDescriptionI just recently learnt about the SRA public key cryptosystem or wait was it supposed to be RSA Hmmm I should probably check Connect to the program on our server your port Requirementssudo apt install sagemathsage python m pip install pwnsage python m pip install pycryptodomethe script below will do it smoothly and it is important to remember to enter port number for your instancefrom sage all import from pwn import from gmpy import is primefrom string import ascii letters digitsfrom Crypto Util number import bytes to long long to bytes inverser remote saturn picoctf net your port def is printable text alphabet ascii letters digits for i in text if i not in alphabet return False return Truee r recvuntil b anger c int r recvline strip decode r recvuntil b envy d int r recvline strip decode r recvline print c print d K divisors d e print Done list prime for k in K pp d e k if is prime pp and int pp bit length list prime append pp list text for p in list prime for q in list prime try if inverse e p q d n p q list text append long to bytes int pow c d n except passlist text set list text for text in list text try text text decode if is printable text print text r recvuntil b gt r sendline text encode print r recvline print r recvline print r recvline break except continuer close |
2023-04-01 11:00:50 |
Apple |
AppleInsider - Frontpage News |
Truck theft ends fatally after owner tracks suspect with AirTag |
https://appleinsider.com/articles/23/04/01/truck-theft-ends-fatally-after-owner-tracks-suspect-with-airtag?utm_medium=rss
|
Truck theft ends fatally after owner tracks suspect with AirTagA Texas truck theft ended fatally after the suspected thief was allegedly shot by the vehicle s owner who apparently tracked them down using an AirTag AirTag on a keyring San Antonio police received a stolen vehicle report at around pm from a Braesview home However before police could recover the stolen truck the owners of the vehicle decided to perform their own investigation using an AirTag left in the truck to do so Read more |
2023-04-01 11:54:00 |
ニュース |
@日本経済新聞 電子版 |
広島銀行「支店間の競争やめます」 業績評価制度を廃止
https://t.co/Kf6qRZtIEE https://t.co/bavfzWjHNR |
https://twitter.com/nikkei/statuses/1642134753032781825
|
広島銀行 |
2023-04-01 12:00:09 |
ニュース |
@日本経済新聞 電子版 |
通信の世界標準、握れぬ日本 ルール投資軽視のツケ
https://t.co/FCWdDXHSLT |
https://twitter.com/nikkei/statuses/1642130930923081730
|
世界標準 |
2023-04-01 11:44:57 |
ニュース |
@日本経済新聞 電子版 |
「年収の壁」低いイギリス 保険料発生でも収入急減せず
https://t.co/Euh8zBL3dc https://t.co/RMLxBBwvKO |
https://twitter.com/nikkei/statuses/1642127188773273602
|
発生 |
2023-04-01 11:30:05 |
ニュース |
@日本経済新聞 電子版 |
デジタル給与解禁、8社参入検討 ペイペイが事業者申請
https://t.co/k2P4XEzeT1 |
https://twitter.com/nikkei/statuses/1642122106069733379
|
解禁 |
2023-04-01 11:09:53 |
ニュース |
BBC News - Home |
Dover ferry passengers delayed as coaches and cars queue up |
https://www.bbc.co.uk/news/uk-65143093?at_medium=RSS&at_campaign=KARANGA
|
weather |
2023-04-01 11:30:52 |
ニュース |
BBC News - Home |
'I'm still alive' jokes Pope as he leaves hospital |
https://www.bbc.co.uk/news/world-europe-65147392?at_medium=RSS&at_campaign=KARANGA
|
alive |
2023-04-01 11:28:54 |
ニュース |
BBC News - Home |
Shelly-Ann Fraser-Pryce: Olympic champion runs in son's sports day |
https://www.bbc.co.uk/sport/av/athletics/65148492?at_medium=RSS&at_campaign=KARANGA
|
predictable |
2023-04-01 11:13:59 |
コメント
コメントを投稿